News for hackers. Stuff that matters.
Re:Stack Overflow: the Blind Leading the Blind by thorax on Sunday August 31, 2008 @09:52PM (#291647)
To clarify for non-Pythoners/non-coders: If you assume "nums" already contains the list, most of his code above is setup. You only need these two lines of his code to get the answer:

  import operator
  answer = reduce(operator.xor, nums)

There are no comments on this comment yet.