Help for a complete newbie

Tim Roberts timr at probo.com
Sat Apr 15 00:23:42 EDT 2006


"Ralph H. Stoos Jr." <rstoos at rochester.rr.com> wrote:
>
>I am reading a Python tutorial for complete non-programmers.
>
>The code below is so simple as to be insulting but the assignment of the 
>"ready" variable gives a syntax error.
>
>The code reads letter-for-letter like the tutorial states.

Letter for letter, maybe, but not space for space.  Indentation is
important in Python.  The "ready =", "if ready", and "else:" statements
must start in column 1.  The two print statements need to be indented, as
they are.
-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list