gordon at panix.com
Sat Feb 16 00:14:20 CET 2013
In <mailman.1855.1360969699.2939.python-list at python.org> Deborah Piotrowski <spiceninja4u at gmail.com> 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:
John Gordon A is for Amy, who fell down the stairs
gordon at panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
More information about the Python-list