sqrt() takes exactly 2 arguments (1 given)
<pre><code>    def sqrt (n, one):
        floating_point_precision = 10*16
        n_float = float(( n * floating_point_precision) // one) / floating_point_precision
        x = (int(floating_point_precision * math.sqrt(n_float)) * one) // floating_point_precision
        n_one = n * one
        while 1:
            x_old = x
            x = ( x + n_one // x) // 2
            if x == x_old:
                return x

print "The newton estimate of", mynum, "is", sqrt(mynum)

Traceback (most recent call last):
  File "/Users/Brett/Desktop/Python/squareroot.py", line 21, in &lt;module&gt;
    print "The newton estimate of", mynum, "is", sqrt(mynum)
TypeError: sqrt() takes exactly 2 arguments (1 given)
</code></pre>
