programming-examples/python/Sets/Python program to iteration over sets.py
2019-11-15 12:59:38 +01:00

4 lines
86 B
Python

#Create a set
num_set = set([0, 1, 2, 3, 4, 5])
for n in num_set:
print(n)