print "Game Over"<div>input("\n\nPress the Enter Key to Exit")</div><div>Syntax Error: Invalid Syntax<br><br><div class="gmail_quote">On Fri, Feb 15, 2013 at 3:48 PM, Bob Brusa <span dir="ltr"><<a href="mailto:bob.brusa@gmail.com" target="_blank">bob.brusa@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br>Am Freitag, 15. Februar 2013 schrieb Joel Goldstick :<div><div class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Feb 15, 2013 at 4:45 PM, Deborah Piotrowski <span dir="ltr"><<a>spiceninja4u@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div><br></div><div>I am very new to Python, I am using the e-book "Python Programming for the Absolute Beginner" and am starting with a simple "Game Over" Program.  This is the code:which is extremely simple!<br clear="all">



<div>print"Game Over" raw_input("\n\nPress Enter Key to exit")</div></div></blockquote><div><br></div><div>welcome Nicholas<br><br><br></div><div>One important thing about python is indentation is important.  You have presented your code in a way that can't be.  Can you actually copy your program and paste it into an email message.  Also, Windows, Linux, Mac?<br>


<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>That's it. It is supposed to bring up a window that says "Game Over" and at the bottom say "Press enter Key to exit" and when you press the enter key it is supposed to exit(big suprise).</div>



<div>But all it does is highlight "raw_input" and says "invalid syntax" Now, if I just put "print "Game Over"" then it says Game Over UNDERNEATH the code I just printed!</div><div>


now I am following the book to the <i>pixel</i> and that is not what is supposed to happen!</div>
Please email me back as soon as you get this...(if you are not to busy). </div><div><br></div><div>Thanks,<span style="font-family:'comic sans ms',sans-serif">Nicholas </span></div>
<br>--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div>Joel Goldstick<br></div><a href="http://joelgoldstick.com" target="_blank">http://joelgoldstick.com</a><br></div></div></div></blockquote><div><br>

</div></div></div><div>Nicholas,</div><div>Could it be that you use a more recent version ( e. g. 3.3) of python? I found that raw_input is indeed no longer recognized. Use input instead and your code will work - at least it did so with <span></span>python 3.3 on my iPad.</div>
<span class="HOEnZb"><font color="#888888">
<div>Bob </div><br><br>-- <br>Von Gmail Mobile gesendet<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><font face="comic sans ms, sans-serif">Nicholas J. Piotrowski</font>
</div>