micropython/tests/basics/set_clear.py

4 wiersze
49 B
Python

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