On Thu, Oct 25, 2012 at 1:02 AM, inshu chauhan <insidesh...@gmail.com> wrote: > ok.. This was an example i was trying to run from > http://docs.python.org/tutorial/classes.html ...
I would strongly recommend going back a bit in the tutorial and reading about functions: http://docs.python.org/tutorial/controlflow.html#defining-functions And unless you have a particular need for Python 2, consider learning the current Python version instead: http://docs.python.org/py3k/tutorial/index.html ChrisA -- http://mail.python.org/mailman/listinfo/python-list