Difference between lists tuples and sets
Lists are ordered, mutable and allow duplicates. Tuples are ordered, immutable and allow duplicates. Sets are unordered, mutable and do not allow duplicates.
Sets can be used to deduplicate data or performing membership checks.