• + 0 comments
    s=int(a**(0.5))
    count=0
    while b>=(s**2):
            if ((s**2)<=b and (s**2)>=a):
                    count+=1
            s+=1
    return count
    

    `