主页
Python
Python math.tan() 方法
demo_ref_math_tan
运行 ❯
×
更改方向
保存代码
更改主题
# Import math Library import math # Return the tangent of different numbers print (math.tan(90)) print (math.tan(-90)) print (math.tan(45)) print (math.tan(60))
-1.995200412208242
1.995200412208242
1.6197751905438615
0.320040389379563