[Tutor] Building Starships -- object of type 'int' has no len()

Alan Gauld alan.gauld at btinternet.com
Wed Aug 20 02:13:46 CEST 2014


On 19/08/14 23:41, Terry--gmail wrote:

> Also, the list comprehension you have used on the final line reminds me
> that I would really like to understand comprehensions better. Is there
> some info on the Internet that starts very basic concerning
> comprehensions and explains step by step in complexity how they are
> structured and what the computer is doing?

You can try the Functional Programming topic in my tutorial.
Comprehensions start roughly half way down.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos



More information about the Tutor mailing list