Skip to content

EasyConceptPython

What is the difference between a list and a tuple, and between a list and a set?

What a good answer covers

Lists are mutable ordered sequences, tuples are immutable, sets are unordered collections of unique hashable items with fast membership tests.