Mega Code Archive

 
Categories / Python / List
 

For Statements

a = ['cat', 'window', 'defenestrate'] for x in a:      print x, len(x)