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

-- 
Dave Merrick

merrick...@gmail.com

Ph   03 3423 121
Cell 027 3089 169
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to