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


Groups > comp.lang.python > #38967

Re: New User-Need-Help

From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: New User-Need-Help
Date 2013-02-15 22:59 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <kfmek0$ii1$1@reader1.panix.com> (permalink)
References <mailman.1848.1360964736.2939.python-list@python.org>

Show all headers | View raw


In <mailman.1848.1360964736.2939.python-list@python.org> Deborah Piotrowski <spiceninja4u@gmail.com> writes:

> This is the code:which is extremely simple!
> print"Game Over" raw_input("\n\nPress Enter Key to exit")
> That's it.

Does your code really have everything on one line, as you posted?  If so,
that's the problem.  It should be broken into two separate lines:

    print "Game Over"
    raw_input("\n\nPress Enter Key to exit")

I can't believe the book put all that code on one line...

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

Back to comp.lang.python | Previous | NextPrevious 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