circuitpython/tests/basics/set_containment.py

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

5 lines
152 B
Python
Raw Normal View History

for i in 1, 2:
for o in {}, {1}, {2}:
print("{} in {}: {}".format(i, o, i in o))
print("{} not in {}: {}".format(i, o, i not in o))