I'm trying to do something similar to this link, but using lists of lists. Doing the following, however, gives me a TypeError.
list1 = [[a,a], [b,b], [c,c]]
list2 = [[c,c], [d,d], [e,e]]
same = set(list1) & set(list2)
I'm also trying to find:
different = not set(list1) & set(list2)