Use Print to display tuples : Tuple Display « Tuple « Python






Use Print to display tuples

Use Print to display tuples

chest = ("gold", "gems")
print "You find a chest.  It contains:"
print chest


           
       

Related examples in the same category