Values & References5 / 18
Up next

The id() of an object

x = [1, 2]
y = x
z = [1, 2]
# aliases share one id; equal-but-separate objects do not
print(id(x) == id(y))
print(id(x) == id(z))
What you're solving

id() returns a unique identity number