A tuple is data type in Python which is similar to a list,
but for which the data is immutable, meaning unchangeable.
If we want in Python, we can change elements of a list
This is shown below:
In order to create a tuple, parentheses are used instead of brackets,
which are used to create lists.
Below is how we create a tuple in Python:
Tuples, unlike lists are immutable. You cannot change elements in a tuple.
If you want to be able to change elements, then you need to convert the tuple to a list,
This can be done by doing a type conversion with the Python list() function.
How to Convert a List to a Tuple