circuitpython/tests/basics/is_isnot.py

5 lines
55 B
Python

print([1, 2] is [1, 2])
a = [1, 2]
b = a
print(b is a)