circuitpython/tests/basics/set_clear.py

4 lines
49 B
Python
Raw Normal View History

2014-01-12 10:44:26 -05:00
s = {1, 2, 3, 4}
print(s.clear())
print(list(s))