每日渔获 python中三种开根方的写法 admin 2020年8月20日 2020年8月20日 这个标题就很茴香豆呀! 1. 使用运算符**, y = x ** 0.5; 2. 使用内置函数pow(), y = pow(x, 0.5); 3. 调用math库中的函数sqrt(), y = math.sqrt(x); 参考链接:https://www.php.cn/python-tutorials-423460.html
TEST