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 <jandmst...@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@python.org
> http://mail.python.org/mailman/listinfo/tutor
>



-- 
eric dorsey | www.perfecteyedesign.com
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to