Mega Code Archive
Categories
/
Python
/
Tuple
Create a tuple with some items and display with a for loop
inventory = ("a", "b", "c", "d") print "Your items:" for item in inventory: print item