Immutable
Tuples are immutable because once a tuple object is created, its contents cannot be modified. This means that you cannot add, remove, or change elements of a tuple.
This immutability is different from lists, which are mutable and allow you to modify their contents after creation. The immutability of tuples makes them useful in situations where you want to ensure that the contents of an object cannot be accidentally changed, such as when passing data between different parts of a program or when creating keys for dictionaries.
Because tuples are immutable, they are also more efficient than lists in terms of memory usage and performance, which makes them a good choice for situations where you need to store and access data quickly and efficiently.
Tuples are immutable in Python | Why | Example