Python math.radians() Method

Math Methods : Convert different degrees into radians

Definition and Usage

The math.radians() method converts a degree value into radians.

Tip: See also math.degrees() to convert an angle from radians to degrees.

Syntax

math.radians(x)

Parameter Values

Parameter Description
x Required. The degree value to be converted into radians. If the parameter is not a number, it returns a TypeError

Technical Details

Return Value: A float value, representing the radian value of an angle
Python Version: 2.0