How to check whether two variables reference the same object?
x = [\'a\', \'b\', \'c\'] y = x # x and y reference the same object z = [\'a\', \'b
y is x will be True, y is z will be False.
y is x
True
y is z
False