主页
Python
Python math.acos() 方法
demo_ref_math_acos
运行 ❯
×
更改方向
保存代码
更改主题
# Import math Library import math # Return the arc cosine of numbers print(math.acos(0.55)) print(math.acos(-0.55)) print(math.acos(0)) print(math.acos(1)) print(math.acos(-1))
0.9884320889261531
2.15316056466364
1.5707963267948966
0.0
3.141592653589793