On Aug 31, 2012, at 4:31 AM, Mark Lawrence <[email protected]> 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  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to