0
import math
x=9
raiz=math.sqrt(x)
print raiz
for i in range (raiz,9): #Problema aqui
i=i**2
print i
I need to create a for with the root of an operation (always whole. 2, 3,4,5...) but when I try to use the is the way I made the mistake. It says that the root has to be integer (python understands as 2.0 , 3.0 , etc.)?