mirror of
https://github.com/micropython/micropython.git
synced 2025-09-05 17:30:41 +02:00
6 lines
96 B
Python
6 lines
96 B
Python
# set object with special methods
|
|
|
|
s = {1, 2}
|
|
print(s.__contains__(1))
|
|
print(s.__contains__(3))
|