PythonExtra/tests/basics/set_clear.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
49 B
Python
Raw Permalink Normal View History

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