[New-bugs-announce] [issue42555] math function sqrt() not working in 3.9

mike dalrymple report at bugs.python.org
Thu Dec 3 08:16:51 EST 2020


New submission from mike dalrymple <linmike2 at msn.com>:

Downloaded Python 3.9.0
Documentation indicates:
math.sqrt(x)
Return the square root of x.

When I use in IDLE shell 3.9.0, I receive error:
>>> sqrt(25)
Traceback (most recent call last):
  File "<pyshell#11>", line 1, in <module>
    sqrt(25)
NameError: name 'sqrt' is not defined

What is the problem?

----------
assignee: terry.reedy
components: IDLE
messages: 382411
nosy: mikeuser_01, terry.reedy
priority: normal
severity: normal
status: open
title: math function sqrt() not working in 3.9
versions: Python 3.9

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


More information about the New-bugs-announce mailing list