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)
Try range(100,-1,-1), the 3rd argument being the increment to use (documented here).
In my opinion, this is the most readable:
for i in reversed(xrange(101)):