python loops

Kay Schluehr kay.schluehr at gmx.net
Thu Aug 31 15:16:24 EDT 2006


bearophileHUGS at lycos.com wrote:
> AlbaClause wrote:
>
> > for i in range(length):
> >         print i
>
> Or usually better:
> 
> for ii in xrange(length):
       ~~

I hate ii ;)

Regards,
Kay




More information about the Python-list mailing list