Creating a set



examples/sets/create_set.py
things = {'table', 'chair', 'door', 'chair'}
print(things)
print(type(things))

if 'table' in things:
   print("has table")

{'door', 'chair', 'table'}
<class 'set'>
has table