[sf-lug] [PYCLASS] Still on exercise 2.1

Christian Einfeldt einfeldt at gmail.com
Sun Oct 5 21:49:29 PDT 2008


On Sun, Oct 5, 2008 at 9:27 PM, Christian Einfeldt <einfeldt at gmail.com>wrote:

I just started reading ch 3, and so I know now why it didn't work.  I didn't
import the math module yet.  Never mind!   ;-)

>>> print 4/3.0*math.pi*5**3
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> NameError: name 'math' is not defined
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxmafia.com/pipermail/sf-lug/attachments/20081005/b5c13fa6/attachment.html>

More information about the sf-lug mailing list