Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: New User-Need-Help

Reply
Thread Tools

Re: New User-Need-Help

 
 
Joel Goldstick
Guest
Posts: n/a
 
      02-15-2013
On Fri, Feb 15, 2013 at 4:45 PM, Deborah Piotrowski
<>wrote:

> 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")
>


welcome Nicholas


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?



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



--
Joel Goldstick
http://joelgoldstick.com

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript new-new-new-new-newbee weblinkunlimited@gmail.com Javascript 2 03-11-2008 01:15 AM
2008 new year,2008 new business, 2008 new life, much cheap andbeautiful product will help you yhnetstore@gmail.com Digital Photography 0 01-07-2008 04:57 PM
New computer, New OS, New Wireless Problem :-\ =?Utf-8?B?RGFu?= Wireless Networking 3 07-31-2005 02:11 PM
[Firefox] Use New Tab instead of New Window? paul j Firefox 7 04-07-2005 09:40 PM
Why can not register a new .net passport or a new hotmail account Alick Lv MCSD 1 01-04-2004 06:12 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57