Python DS Basketball players | Sololearn: Learn to code for FREE!

+2

Python DS Basketball players

I can't find out why the output isn't correct? Or am I searching for the wong answer? Like search for the length rather than a list. https://code.sololearn.com/ca0a8a19a23a

3/24/2021 7:34:06 PM

Coalemus

3 Answers

New Answer

+4

range() doesn't work with float values, only int, and is not designed to be used in that way ^^ you must iterate over players and test how many values are in the bounds (mean-std,mean+std) with classical greater and lesser operators ;) then, if I remember right, you must output the percentage that this count represent according to the total length of players...

+1

Still stuck but that helped!

+1

post your last code to be helped further ;)