Skip to content
sqrt()
python
# 描述:sqrt() 方法返回数字x的平方根。
# 注意:sqrt()是不能直接访问的,需要导入 math 模块,通过静态对象调用该方法。
import math
math.sqrt( x )