执行数学函数 sqrt。
sqrt
math().sqrt(value)
value
Int | Float:整数结果会返回 Int,非整数结果返回 Float。
Int | Float
Int
Float
result = math().sqrt(1, 2)