I have two lists in Python, like these:
temp1 = [\'One\', \'Two\', \'Three\', \'Four\'] temp2 = [\'One\', \'Two\']
I need to create a third
single line version of arulmr solution
def diff(listA, listB): return set(listA) - set(listB) | set(listA) -set(listB)