leonardo selmi <l.selmi <at> icloud.com> writes: > [...] > i saved the above program from python shell into a file as > "circle.py" . when i type "import circle" i get error..
Urm... would you be so kind as to copy and paste the error message verbatim? You have obvious syntax errors in this code due to improper indentation, but take a word of advice from the Python Zen: "In the face of ambiguity, refuse the temptation to guess" So let's have a look-see at that error message, shall we? -- http://mail.python.org/mailman/listinfo/python-list