How to Access Values in Tuples : Index : Tuple PYTHON TUTORIALS


PYTHON TUTORIALS » Tuple » Index »

 

How to Access Values in Tuples


aTuple = (123'abc', 4.56['inner', 'tuple'], 7-9j)

print aTuple[1:4]

print aTuple[:3]
print aTuple[3][1]



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo Tuple
» Index