Overview

Sets are used to store multiple items in a single variable. Sets are written with curly brackets {} as opposed to lists, which are written with square brackets [].

Sets to do not have a defined order -- the items in the set can appear in a different order every time you use a set.  Because of this, items in the set cannot be referred to by index or key.

Items in a set must be unique.