[Tutor] Print question in IDLE

jims jandmstull at gmail.com
Sat Jan 31 01:45:47 CET 2009


I apologize for asking such a dumb question but I have no prior 
programming experience and am trying to learn by following examples from 
a book. And also from the web.

Simply put here is where I am stuck. (Python version 3.0)

I type in the example using the comment command:

(example)  *>>> "food is very nice" #lets eat

*(I am supposed to get) *food is very nice

(*What I do get is) SyntaxError:  invalid syntax (<pyshell#3>,  line 1)

I understand the comment part, no problem but no way can I get past what 
ever else I am doing wrong.  I assume it's something fundamental but I 
can't get past this.
Thanks for any help.
Jim


More information about the Tutor mailing list