云计算开发:Python3三角函数degrees()方法详解
描述
Python3 degrees() 将弧云计度转换为角度。
语法
以下是 degrees() 方法的语算开法:
import math
math.degre发:es(x)
注意:degrees()是不能直接访问的Py,需要导入 math 模块,然后通过 math 静态th对象调用该方法。
参数
x -- 一个数值。
返回值
返回on一个角度值。
实例
以下展示了使用 degre3三es() 方法的实例:
以上实例运行后输出结果角函为:
未经允许不得转载:>一言兴邦网 » 云计算开发:Python3三角函数degrees()方法详解
一言兴邦网



