Error with math.sqrt

Jack Harvey jackrharvey at hotmail.com
Sat Jan 7 19:15:30 EST 2017


I'm starting out with Python 3.5.  My current frustration is with:


>>> math.sqrt(25)
Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    math.sqrt(25)
NameError: name 'math' is not defined
>>>


Advice?


Jack



More information about the Python-list mailing list