I am trying to implement the Naive Gauss and getting the unsupported operand type error on execution. Output:
execfile(filename, namespace) File \"/media
Use Set in Python
>>> a = [2,4] >>> b = [1,4,3] >>> set(a) - set(b) set([2])