Print each element in the tuple : Tuple In : Tuple PYTHON examples


PYTHON examples » Tuple » Tuple In »

 

Print each element in the tuple


Print each element in the tuple


inventory = ("a",
             "b",
             "c",
             "d")

print "nYour items:"
for item in inventory:
    print item

           
       



Leave a Comment / Note


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


PYTHON examples

 Navioo Tuple
» Tuple In