This Python code converts a radian value to its equivalent in degrees. Here's an explanation of each part of the code:
Overall, this code takes a radian value as input, converts it to degrees using the math.degrees() function, and then prints the converted value. It's useful for converting angles between different units when working with trigonometric calculations and geometry in mathematics and science
import math # Input radian value radian = float(input("Enter Radian value : ")) # Convert radians to degrees degree = math.degrees(radian) print("Radian to Degree : ",degree)
Enter Radian value : 2 Radian to Degree : 114.59155902616465
Learn All in Tamil © Designed & Developed By Tutor Joes | Privacy Policy | Terms & Conditions