how to access python tuple code example
Example 1: how to use tupels python
tupel = ('banana',10,True)
print(tupel[2])
Example 2: pyhton tuple
#It's like a list, but unchangeable
tup = ("var1","var2","var3")
tup = (1,2,3)
#Error
Example 3: what are tuples in python
#A tuple is essentailly a list with limited uses. They are popular when making variables
#or containers that you don't want changed, or when making temporary variables.
#A tuple is defined with parentheses.