micropython/tests/basics/set_discard.py

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

4 lines
46 B
Python
Raw Normal View History

2014-01-12 16:39:39 +00:00
s = {1, 2}
print(s.discard(1))
print(list(s))