On 05/25/2011 09:21 PM, David Merrick wrote:
How do I can access to the math module to use PI?area = math.pi * pow(3,2) Traceback (most recent call last): File "<pyshell#16>", line 1, in <module> area = math.i * pow(3,2) NameError: name 'math' is not defined
try 'import math' first... _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor