Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #39120 > unrolled thread

request for help

Started byleonardo selmi <l.selmi@icloud.com>
First post2013-02-18 20:42 +0100
Last post2013-02-18 20:42 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  request for help leonardo selmi <l.selmi@icloud.com> - 2013-02-18 20:42 +0100

#39120 — request for help

Fromleonardo selmi <l.selmi@icloud.com>
Date2013-02-18 20:42 +0100
Subjectrequest for help
Message-ID<mailman.1963.1361216626.2939.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web