Skip to content

EasyConceptPython

What is the difference between a list and a tuple in Python?

What a good answer covers

Lists are mutable and tuples are immutable, so tuples can be dictionary keys when their contents are hashable and signal fixed records.