On Aug 31, 2012, at 4:31 AM, Mark Lawrence <breamore...@yahoo.co.uk> wrote:

> On 31/08/2012 04:27, William R. Wing (Bill Wing) wrote:
>> 
>> How about -
>> 
>>>>> for item in iter(list):
>>>>> ….print item
> 
> Overengineering? :) A list is an iterator.
> 

Right you are - should have been:

for item in list:
....print item

-Bill

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to