[Tutor] Please help
Asokan Pichai
pasokan at talentsprint.com
Wed Jan 2 04:16:03 CET 2013
I saw the code;
I see too many formatting errors:
Line No 24 starts a function definition and the
next few lines are indented by two spaces, but
Line 29 is a print statement that is in line with
the def; IOW it completes the function. It is
very likely wrong.
You are defining functions within functions;
again it is very likely to be wrong.
My advice, look at PEP 8 and also some
sample python code in the tutorial to
understand how to format code. Remember:
Leading whitespace is syntactically significant
HTH
Asokan Pichai
Religion offers hope against all the strife and misery of
the world caused by religions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130102/3509f1ec/attachment.html>
More information about the Tutor
mailing list