freeCodeCamp/guide/chinese/mathematics/degrees-to-radians/index.md

19 lines
419 B
Markdown
Raw Normal View History

---
title: Degrees to Radians
localeTitle: 度数到弧度
---
## 度数到弧度
将角度乘以pi / 180。请记住pi弧度跨越一半的圆即180度。 这是一个将度数转换为弧度的python函数。请享用
导入数学
def度_到_弧度角度
返回角度\* math.pi / 180;
#### 更多信息:
一个完整的周期= 360度=2π弧度
1度=2π/ 360弧度
p度= p×2π/ 360弧度