[Tutor] Sqrt is listed as always available.

2006-02-15 Thread Kermit Rose
Sqrt is listed as always available. Why did I get these diagnostics? Sqrt(J0) Traceback (most recent call last): File pyshell#1, line 1, in -toplevel- Sqrt(J0) NameError: name 'Sqrt' is not defined sqrt(J0) Traceback (most recent call last): File pyshell#3, line 1, in -toplevel-

Re: [Tutor] Sqrt is listed as always available.

2006-02-15 Thread Bob Gailer
Kermit Rose wrote: Sqrt is listed as always available. Where did you see that? Try: import math math.sqrt(24) 4.8989794855663558 Why did I get these diagnostics? Sqrt(J0) Traceback (most recent call last): File pyshell#1, line 1, in -toplevel- Sqrt(J0)

Re: [Tutor] Sqrt is listed as always available.

2006-02-15 Thread Matthew Webber
] On Behalf Of Kermit Rose Sent: 15 February 2006 08:53 To: tutor@python.org Subject: [Tutor] Sqrt is listed as always available. Sqrt is listed as always available. Why did I get these diagnostics? Sqrt(J0) Traceback (most recent call last): File pyshell#1, line 1, in -toplevel- Sqrt(J0