num=list(float(range(2.5,20.5,2)) can't be interpreted why? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

num=list(float(range(2.5,20.5,2)) can't be interpreted why?

20th May 2017, 3:52 PM
sai charan tej
sai charan tej - avatar
2 Answers
+ 1
you're missing a closing parentheses, stick on a )
20th May 2017, 4:03 PM
tracy
tracy - avatar
0
you are floating range
20th May 2017, 4:07 PM
Vasily Solostovsky
Vasily Solostovsky - avatar