Mega Code Archive

 
Categories / Python / Tuple
 

Print each element in the tuple

inventory = ("a",              "b",              "c",              "d") print "\nYour items:" for item in inventory:     print item