Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #38961

New User-Need-Help

Date 2013-02-15 14:45 -0700
Subject New User-Need-Help
From Deborah Piotrowski <spiceninja4u@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1848.1360964736.2939.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,


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!
print"Game Over" raw_input("\n\nPress Enter Key to exit")
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).
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!
now I am following the book to the *pixel* and that is not what is supposed
to happen!
Please email me back as soon as you get this...(if you are not to busy).

Thanks,Nicholas

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

New User-Need-Help Deborah Piotrowski <spiceninja4u@gmail.com> - 2013-02-15 14:45 -0700
  Re: New User-Need-Help John Gordon <gordon@panix.com> - 2013-02-15 22:59 +0000

csiph-web