Creating an empty set
examples/sets/empty.py
objects = set() print(objects) print(type(objects)) other = {} print(other) print(type(other)) # This is an empty dict and not a set!!!!
set() <class 'set'> {} <class 'dict'>
objects = set() print(objects) print(type(objects)) other = {} print(other) print(type(other)) # This is an empty dict and not a set!!!!
set() <class 'set'> {} <class 'dict'>