Set

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  function or with the syntax.

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