How to Create and Assign Tuples : Assign : Tuple PYTHON TUTORIALS


PYTHON TUTORIALS » Tuple » Assign »

 

How to Create and Assign Tuples


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

anotherTuple = (None, 'something to see here')

print aTuple

print anotherTuple

emptiestPossibleTuple = (None,)

print emptiestPossibleTuple

print tuple('bar')



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo Tuple
» Assign