Mega Code Archive
Categories
/
Python Tutorial
/
Statement
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