using range() in for loops

Steven D'Aprano steve at REMOVETHIScyber.com.au
Wed Apr 5 11:14:48 EDT 2006


On Wed, 05 Apr 2006 16:15:12 +0200, Georg Brandl wrote:

> 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.

Care to explain what the differences are, or shall we guess?



-- 
Steven.




More information about the Python-list mailing list