using range() in for loops

Georg Brandl g.brandl-nospam at gmx.net
Wed Apr 5 10:15:12 EDT 2006


sushant.sirsikar at gmail.com wrote:
> hi John,
>      Python doesn't provide for loop like C / C++ but using Range() or
> Xrange() you can achive all the functionalities of the C for loop.

Not quite.

Georg



More information about the Python-list mailing list