micropython/tests/basics/set_clear.py

4 wiersze
49 B
Python

s = {1, 2, 3, 4}
print(s.clear())
print(list(s))