python loops

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Thu Aug 31 15:05:15 EDT 2006


AlbaClause wrote:

> for i in range(length):
>         print i

Or usually better:

for ii in xrange(length):
    ...

Bye,
bearophile




More information about the Python-list mailing list