access to tuple in tuple python code example
Example 1: pyhton tuple
#It's like a list, but unchangeable
tup = ("var1","var2","var3")
tup = (1,2,3)
#Error
Example 2: 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.