Python DS Basketball players | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

24th Mar 2021, 7:34 PM
Coalemus
3 Answers
+ 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...
24th Mar 2021, 7:39 PM
visph
visph - avatar
+ 1
Still stuck but that helped!
24th Mar 2021, 8:54 PM
Coalemus
+ 1
post your last code to be helped further ;)
24th Mar 2021, 8:55 PM
visph
visph - avatar