micropython/tests/basics/set_containment.py
2017-02-14 22:31:08 +03:00

5 lines
152 B
Python

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))