A tuple is an ordered collection that is normally used for values that should remain structurally stable. It can contain different types, supports indexing and iteration, and can be unpacked into separate variables. Tuples are common for coordinates, configuration values, and function results.
Immutability means that a tuple cannot have its elements replaced or removed. It does not mean every object inside it is immutable. A tuple containing a list can still expose changes through that list. Understanding this distinction prevents misleading assumptions about safety.
Use a list when the collection is expected to change and a tuple when stable structure communicates intent. Tuples can be used as dictionary keys when all contained values are hashable. Keep unpacking readable, and use a clear placeholder for values that are intentionally ignored. Small choices in data structures make code easier to understand.