if tuples are immutable how do we use indexing. Can u clarify this
(we can use indexing only to retrieve and not change values?
Concept if immutable tuples and indexing
Hey @surbhi11, let me explain u in detail :
A tuple is a collection of objects which are ordered and immutable. Tuples are sequences, just like lists. The differences between tuples and lists are, the tuples cannot be changed unlike lists and tuples use parentheses, whereas lists use square brackets. Like string indices, tuple indices start at 0, and they can be sliced, concatenated, and so on.
To access values in tuple, use the square brackets for slicing along with the index or indices to obtain value available at that index.
Tuples are immutable which means you cannot update or change the values of tuple elements. You are able to take portions of existing tuples to create new tuples.
We can access values in a tuple but not change the existing values.
I hope this explanation gives a good explanation to your question. ! 
Please mark the doubt as resolved in your doubts section ! 
Happy Learning !
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.