Python Function Reference

math.degrees
Convert angle x from radians to degrees.
Python 3.13
math.degrees(x)
x
The angle in radians.
Examples
Python 3.13
>>> import math
>>> math.degrees(math.pi)
180.0