mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
11 lines
262 B
Python
11 lines
262 B
Python
|
|
assert (1 is not 1) == False
|
|
assert (1 is not 2) == True
|
|
assert (1 is not None) == True
|
|
assert (None is not None) == False
|
|
assert (None is not 1) == True
|
|
assert (1 is not 1.0) == True
|
|
assert (1.0 is not 1) == True
|
|
assert (1.0 is not 1.0) == False
|
|
print("PASS")
|