what is tuple object in python 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
tupel = ('banana',10,True)
print(tupel[2])
#It's like a list, but unchangeable
tup = ("var1","var2","var3")
tup = (1,2,3)
#Error