title: Why is the square root of a negative number not purely imaginary in Python?
body: <p>When I evaluate <code>(-1)**0.5</code> in Python, the result is <code>(6.123233995736766e-17+1j)</code>. What is this number, and how can I get just <code>1j</code> as the result?</p>