How to make a reverse for loop in python?

Alex Snast asnast at gmail.com
Sat Sep 20 12:16:36 EDT 2008


Hello

I'm new to python and i can't figure out how to write a reverse for
loop in python

e.g. the python equivalent to the c++ loop

for (i = 10; i >= 0; --i)



More information about the Python-list mailing list