to degrees to radians in math python3 code example
Example 1: python radians to degrees
# The function 'degrees()' converts an angle from radians to degrees
import math
math.degrees(angle)
Example 2: python degrees to radians
# The function 'radians()' converts an angle from degrees to radians
import math
math.radians(angle)