Python Math: Convert radian to degree
2. Radians to Degrees Conversion
Write a Python program to convert radians to degrees.
Note: 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).
Sample Solution:
Python Code:
pi=22/7
radian = float(input("Input radians: "))
degree = radian*(180/pi)
print(degree)
Sample Output:
Input radians: 10 572.7272727272727
Pictorial Presentation:
Flowchart:

For more Practice: Solve these Related Problems:
- Write a Python program that converts a given radian value to degrees using math.degrees() and prints the output with precision up to 5 decimal places.
- Write a Python function that accepts a list of radian values, converts each to degrees, and returns a new list of degree values.
- Write a Python script to compare the conversion of 0.52 radians using math.degrees() and your custom conversion formula.
- Write a Python program to prompt the user for a radian value, convert it to degrees, and then display both values in a user-friendly message.
Python Code Editor:
Have another way to solve this solution? Contribute your code (and comments) through Disqus.
Previous: Write a Python program to convert degree to radian.
Next: Write a Python program to calculate the area of a trapezoid.
What is the difficulty level of this exercise?
Test your Programming skills with w3resource's quiz.