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

Terry--gmail terry.kemmerer at gmail.com
Mon Aug 18 06:40:29 CEST 2014


I found another place in Thunderbirdy to set 'plain text'.

This is a test.

Does the below code look correct now?

--And did I reply correctly this time?  (Reply-All and keep only 
tutor at python.org address...)

for line_number, row in enumerate(catalog2):

for col, item in enumerate(row):

if lens[col] < len(item):

lens[col] = len(item)






More information about the Tutor mailing list