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
you need to install and import reduce from functools python package
functools