Get the length of a tuple : Tuple Length : Tuple PYTHON examples


PYTHON examples » Tuple » Tuple Length »

 

Get the length of a tuple


Get the length of a tuple


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

print "You have", len(inventory)"items in your possession."

           
       



    Related Scripts with Example Source Code in same category :

Leave a Comment / Note


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


PYTHON examples

 Navioo Tuple
» Tuple Length