convert degree to radians in ptyhon code example
Example 1: python degrees to radians
# The function 'radians()' converts an angle from degrees to radians
import math
math.radians(angle)
Example 2: convert radians to degrees python
from math import degrees, pi
one_radian_in_degrees = degrees(pi)
# one_radian_in_degrees = 180