python convert angle to unit code example
Example: cos in python in degrees
math.cos(math.radians(1))
# math.cos takes radians
# math.radians converts radians to degrees
math.cos(math.radians(1))
# math.cos takes radians
# math.radians converts radians to degrees