radians and degrees in python 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: convert radians to degrees python
from math import degrees, pi
one_radian_in_degrees = degrees(pi)
# one_radian_in_degrees = 180