Python Set Types Set - ashish9342/FreeCodeCamp GitHub Wiki
TODO: set
basic info
Mutable
Creation:
set
literal:
Curly brackets, {}
, can't be used to create an empty set:
>>> not_set = {} # set constructor must be used to make empty sets.
>>> type(not_set) # Empty curly brackets create empty dictionaries.
<class 'dict'>
set
constructor: