3 ms·x^2 in Python is x XOR 2 :) You probably want x**2by jmgrosen 13y agox^2 in Python is x XOR 2 :) You probably want x**2