Damien George
11 years ago
2 changed files with 8 additions and 1 deletions
@ -1,2 +1,9 @@ |
|||||
print(id(1) == id(2)) |
print(id(1) == id(2)) |
||||
print(id(None) == id(None)) |
print(id(None) == id(None)) |
||||
|
print(id([]) == id([])) |
||||
|
|
||||
|
l = [1, 2] |
||||
|
print(id(l) == id(l)) |
||||
|
|
||||
|
f = lambda:None |
||||
|
print(id(f) == id(f)) |
||||
|
Loading…
Reference in new issue