for Loop and the range() Built-in Function : For : Statement PYTHON TUTORIALS


PYTHON TUTORIALS » Statement » For »

 

for Loop and the range() Built-in Function


print 'I like to use the Internet for:'
for item in ['e-mail', 'net-surfing', 'homework',  'chat']:
    print item



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo Statement
» For