Python degrees()
function converts a radian angle into degrees.
It's a method of math
module.
>>> import math >>> math.degrees(1)
57.29577951308232
>>> math.degrees(50)
2864.7889756541163
>>> math.degrees(2)
114.59155902616465
>>> math.degrees(3)
171.88733853924697
>>> math.degrees(4)
229.1831180523293
>>> math.degrees(5)
286.4788975654116
>>> math.degrees(6)
343.77467707849394
>>> math.degrees(7)
401.07045659157626