Python Compiler : Python
mrx = ["elon", "musk"]
varb = ["elon", "musk"]
a = mrx varb
print(mrx is a)
# returns True because a is the same object as mrx
print(mrx is varb)
# returns False because mrx is not the same object as varb, even if they have the same content
print(mrx == varb)
# to display the difference betweeen "is" and "==": this comparison returns True because x is equal to varb