Python Compiler : Python

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