What is the meaning of this sqrt=x**0.5?

Viewed 27
import math

def countSquares(x):
    sqrt=x**0.5
    result=int(sqrt)
    return result
x=81
print(countSquares(x))
1 Answers

x**0.5 is "x to the power of 0.5" which essentially means square root of x.

Related