title: How do you square a negative number in python
body: <p>I do not know how to square a negative number in Python. I understand that you can do <code>x**2</code>, but if you use <code>-1**2</code> it comes out as -1, but -1 squared is 1.</p>