I\'m using Python 3.2. Tried this:
xor = lambda x,y: (x+y)%2 l = reduce(xor, [1,2,3,4])
And got the following error:
l = re
Or if you use the six library
from six.moves import reduce