# Distinguish set and dictionary while creating empty set # initialize a with {} a = {} # check data type of a print(type(a)) # initialize a with set() a = set() # check data type of a print(type(a))
#Create a new empty set x = set() print(x) #Create a non empty set n = set([0, 1, 2, 3, 4]) print(n)