I have two lists in Python, like these:
temp1 = [\'One\', \'Two\', \'Three\', \'Four\'] temp2 = [\'One\', \'Two\']
I need to create a third
This can be solved with one line. The question is given two lists (temp1 and temp2) return their difference in a third list (temp3).
temp3 = list(set(temp1).difference(set(temp2)))