[Tutor] Print question in IDLE

Eric Dorsey dorseye at gmail.com
Sat Jan 31 02:01:48 CET 2009

At the >>> prompt (which is the interactive) interpreter, try:
print('food is very nice')  #lets eat

On Fri, Jan 30, 2009 at 5:45 PM, jims <jandmstull at gmail.com> wrote:

> 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
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor

eric dorsey | www.perfecteyedesign.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090130/7c15a995/attachment.htm>

More information about the Tutor mailing list