In <[email protected]> Deborah Piotrowski
<[email protected]> writes:
> print "Game Over"
> input("\n\nPress the Enter Key to Exit")
> Syntax Error: Invalid Syntax
You're probably using Python version 3, but the book was written for
version 2. The print statement is handled a bit differently in version 3.
Change your print statement to look like this:
print("Game Over")
--
John Gordon A is for Amy, who fell down the stairs
[email protected] B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
--
http://mail.python.org/mailman/listinfo/python-list