what is the difference between a list and tuple?
The Key Difference between a List and a Tuple. The main difference between lists and tuples is the fact that lists are mutable whereas tuples are immutable. ... A mutable data type means that a python object of this type can be modified. An immutable object can't.