integer part of the root withot using functions
<p>The calculation of the integer part of the square root of a number can be done by trial and error, starting from 1, by executing the square until the result is less than or equal to the starting value of which is calculated by the root.</p>

<p>The following program returns the integer part of the root</p>

<pre><code>def radice(x):
    z = 0
    t = 0
    while True:
        t = z*z
        if t &gt; x:
            z -= 1
            return z
        z += 1

radice(17) // 4
</code></pre>

<p>Will be possible to write it without using functions and break? 
Here is my code witout function but I dont' know how to write the same algo with no <code>break</code></p>

<pre><code>z = 0
t = 0
while True:
    t = z*z
    if t &gt; x:
        z -= 1
        break
    z += 1
print 'The integer part of the root is: ', z
</code></pre>
