[Tutor] generator object

Alan Gauld alan.gauld at yahoo.co.uk
Wed Aug 31 19:23:53 EDT 2016


On 31/08/16 23:24, Alan Gauld via Tutor wrote:

> Then I tried
> ...
> x = list(2)

Should be


list(gen(2))

I hope that was obvious...
-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list