set_clear.py 49 Bytes
Newer Older
John R. Lenton's avatar
John R. Lenton committed
1
2
3
s = {1, 2, 3, 4}
print(s.clear())
print(list(s))