request for help

leonardo selmi l.selmi at icloud.com
Mon Feb 18 20:42:08 CET 2013


pls i need help:

i have copied the following from a book and tried to make it work:

import math

def area(radius):
return math.pi * radius**2

def circumference(radius):
return 2 * math.pi * radius

i saved the above program from python shell into a file as "circle.py" . when i type "import circle" i get  error..


kind regards


More information about the Python-list mailing list