programming-examples/python/Sets/Python program to remove item(s) from set.py

5 lines
101 B
Python
Raw Normal View History

2019-11-15 12:59:38 +01:00
num_set = set([0, 1, 3, 4, 5])
num_set.pop()
print(num_set)
num_set.pop()
print(num_set)