micropython/tests/basics/set_clear.py

4 lines
49 B
Python
Raw Normal View History

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