For Statements : List Loop : List PYTHON examples


PYTHON examples » List » List Loop »

 

For Statements


For Statements


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


           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo List
» List Loop