Python Tuples
Tuple is the collection of objects but immutable(changeable). The
following is the representation of tuple object:
Syntax -> var = (value1, value2, value3)
Following is the example for Python tuples,
>>> a = (1,2,3,4) >>> a[0] 1 >>> for i in a: ... print (i) ... 1 2 3 4 >>>