I\'m trying to create a function that takes in 2 lists and returns the list that only has the differences of the two lists.
Example:
a = [1,2,5,7,9]
Try this,
a = [1,2,5,7,9] b = [1,2,4,8,9] print set(a).symmetric_difference(set(b))