At the >>> prompt (which is the interactive) interpreter, try:<div><br></div><div>print('food is very nice') #lets eat</div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Fri, Jan 30, 2009 at 5:45 PM, jims <span dir="ltr"><<a href="mailto:jandmstull@gmail.com">jandmstull@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">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.<br>
<br>
Simply put here is where I am stuck. (Python version 3.0)<br>
<br>
I type in the example using the comment command:<br>
<br>
(example) *>>> "food is very nice" #lets eat<br>
<br>
*(I am supposed to get) *food is very nice<br>
<br>
(*What I do get is) SyntaxError: invalid syntax (<pyshell#3>, line 1)<br>
<br>
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.<br>
Thanks for any help.<br>
Jim<br>
_______________________________________________<br>
Tutor maillist - <a href="mailto:Tutor@python.org" target="_blank">Tutor@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>eric dorsey | <a href="http://www.perfecteyedesign.com">www.perfecteyedesign.com</a><br>
</div>