Suppose I have this code:
a = [1,2]
b = [1,2]
def equivalentButDifferent(list1, list2):
# list1 and list2 are lists
return <is list1 and list2 the same or merely equivalent>
How do I return True for equivalentButDifferent(a,b)
but False for equivalentButDifferent(a,a)
?