Hacker News new | ask | show | jobs
by jmgrosen 4510 days ago

    x^2
in Python is x XOR 2 :) You probably want

    x**2