5 lines
117 B
Python
5 lines
117 B
Python
|
#Create a new set
|
||
|
num_set = set([0, 1, 2, 3, 4, 5])
|
||
|
#Discard number 4
|
||
|
num_set.discard(4)
|
||
|
print(num_set)
|