I am trying to loop from 100 to 0. How do I do this in Python?
for i in range (100,0) doesn't work.
for i in range (100,0)
For discussion of why range works the way it does, see Why are slice and range upper-bound exclusive?.
range
← Назад к списку