This is a short article. Please extend it!

A set is an unordered collection of unique objects which can be iterated, but not indexed. Objects in a set must be hashable.

A set can be created with the set() function or with the syntax {Item1, Item2, Item3, ...}.


A frozenset is a type of set which is immutable, similarly to a tuple.