How to Solve NameError: name 'degrees' is not defined -- math
Solution: Import the 'degrees' module
To Solve the error, add the following line to the top of your code.
from math import degrees
For more information:
Python math degrees