Eric Wichterich wrote: > Hello, > > I am converting a perl-script to python and have problems with this > simple perl-statement: > > for ( $i = 100; $i > 2; $i-- ) {do something } > > Does anyone know how to write this in python? I did not find any > documentation about counting backward in a for loop... for i in range(100, 2, -1): dosomething(i) Alex