programming-examples/python/Math/Convert degree to radian.py

6 lines
383 B
Python
Raw Normal View History

2019-11-15 12:59:38 +01:00
# The radian is the standard unit of angular measure, used in many areas of mathematics. An angle's measurement in radians is numerically equal to the length of a corresponding arc of a unit circle; one radian is just under 57.3 degrees (when the arc length is equal to the radius).
pi=22/7
degree = float(input("Input degrees: "))
radian = degree*(pi/180)
print(radian)