Can you make that thats code run in python 2.7 from 3.5 : <p>i have code that runs in python 3.5 but i need it for python 2.7. Because on the school system runs only 2.7 and i can only write 3.5. The programm calculate square roots with the herron principle. sorry for my bad English</p>

<pre><code>#y = number from that you want the square root 
#a = first side of the square
#b = second side of the square
#m = middle of both numbers
#x = a*b/m
#i = number of Iteration
#c = number of maked Iterations
import math

c = 0
m = 0
x = 0

y = int(input("Number from that you want the square root(only numbers without a comma):"))
i = int(input("Number of Iterationen: "))


a = y/2
b = 2

print("first side of the square",a)
print("second side of the square", b)


while i &gt; 0:
    m = (a+b)/2
    x = (a*b)/m
    a = m
    b = x
    print("first side of square after",c,"Iterations is",a)
    print("second side of square after",c,"Iterations is",b)
    i = i-1
    c = c+1

print("Final",a)

print("calculate per command",math.sqrt(y))
</code></pre>
