How do I find the square root of the negative integer -16 or the numbers that it is a multiple of with a while loop : <p>I am more interested in finding out why this doesn't work</p>

<pre><code>x = -16
ans = -1
ans2 = 1
while (ans*ans2 &gt; x):
    ans = ans - 1
    ans2 = ans + 1
print ans, ans2
</code></pre>
