mirror of
https://github.com/micropython/micropython.git
synced 2025-09-06 01:40:34 +02:00
10 lines
147 B
Python
10 lines
147 B
Python
print(id(1) == id(2))
|
|
print(id(None) == id(None))
|
|
print(id([]) == id([]))
|
|
|
|
l = [1, 2]
|
|
print(id(l) == id(l))
|
|
|
|
f = lambda:None
|
|
print(id(f) == id(f))
|