Total Python Noob

Tom Lake tlake at twcny.rr.com
Fri Oct 10 02:22:59 EDT 2008


I have Python 2.6 installed on Vista Ultimate.  When I try to calculate
sqrt (or any transcendental functions) I get the following error

>>> sqrt(2)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'sqrt' is not defined

What am I doing wrong?

Tom Lake 



More information about the Python-list mailing list