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 = reduce(xor, [1,2,3,4]) NameError: name 'reduce' is not...
I am using Python 3.2 on Windows 7. When I open the Python shell, how can I know what the current directory is and how can I change it...