Tuples are sequences of arbitrary items. Unlike lists, tuples are immutable, meaning you can’t add, delete, or change items after the tuple is defined.
So, a tuple is similar to a constant list. Usually you will use lists instead of tuples 99% of the time. Especially when you are not producing code that will go into production and be part of a larger software bundle.
This is how you handle tuples.
my_tuple = () #making an empty tuple
my_tuple = 'rap' #making a tuple of len 1 with a string element
my_tuple = ('tomato', 'gin', 'vodka') #tuple containing 3 elements
my_tuple = 12345, 54321, 'hello!' #tuple with various elements
You can access characters in a tuple by indexing just like in lists using the syntax [ start : end : step ].
my_tuple = ('tomato', 'gin', 'vodka',12345, 54321, True)
my_tuple [0] #Access the 1st value
my_tuple [-1] #Access the last value
my_tuple [0:2] #Access the first 2 values
my_tuple [0:5:2] #Valuesfrom position 0 to 10, with a step 2
There is no append(), insert() and similar functions. As said before you probably are going to want to use lists instead of tuples.
For now, the only useful things they provide is that they use less space and in Python function arguments are passed as tuples.