What is the difference between a list and a tuple?medium
Lists are mutable, while tuples are immutable.
Lists can be changed after creation, while tuples are fixed. Tuples are useful for stable records and can be hashable when their values are hashable.