mirror of
https://github.com/W3SLAV/micropython.git
synced 2025-06-20 12:35:34 -04: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))
|