[Tutor] Help with pi and the math module.

Nathan Pinno falcon3166 at hotmail.com
Sat Sep 24 01:03:17 CEST 2005


Hi all,

I need help with pi and the math module. I had import math at the top of a program, but when it came to diameter*pi, it said that pi was not defined.

How do I use it correctly?

Thanks,
Nathan Pinno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20050923/e2fb84ff/attachment.htm


More information about the Tutor mailing list