programming-examples/python/Sets/Python program to create a new empty set.py
2019-11-15 12:59:38 +01:00

6 lines
105 B
Python

#Create a new empty set
x = set()
print(x)
#Create a non empty set
n = set([0, 1, 2, 3, 4])
print(n)