On Sun, Mar 22, 2009 at 8:35 PM, John Jenkinson <[email protected]>wrote:
> I am trying to write a program that displays the string expression "Game
> Over", in a console window that remains open.
>
> my code is as follows:
>
> # Game Over console window
>
> print "Game Over"
> raw input("\n\nPress the enter key to exit.")
>
Assuming that you've posted exactly what's in your program, the problem is
"raw input()" (which would mean 'execute a statement called raw, with an
input() function following it') instead of "raw_input()". Since there isn't
a built-in statement called "raw", you get the syntax error.
Spelling counts.
--
www.fsrtechnologies.com
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor