[Tutor] Tutor Digest, Vol 102, Issue 98

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Aug 31 10:31:44 CEST 2012


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.

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


-- 
Cheers.

Mark Lawrence.



More information about the Tutor mailing list