How are Tuples different from Lists when both are sequences?
Question :
How are Tuples different from Lists when both are sequences?
Tuples are similar to lists in many ways like indexing, slicing, and accessing individual values but they are different in the sense that –
Tuples are immutable while lists are mutable.
List can grow or shrink while tuples cannot.