[issue39972] Math library Bug Return None for "degrees(0)"

Hamid Nazari report at bugs.python.org
Mon Mar 16 02:38:26 EDT 2020


Hamid Nazari <hn at linux.com> added the comment:

You seem to be calling `turtle.degrees()`, not `math.degrees()`.

Try this in your Repl.it: (which does not use cpython, rather it uses Skulpt)

import math
import turtle
print(turtle.degrees(0))
print(math.degrees(0))

----------
nosy: +hamidnazari

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39972>
_______________________________________


More information about the Python-bugs-list mailing list