[Tutor] VERY basic question

Stefan St-Hilaire stefan.sthilaire at gmail.com
Wed Oct 1 23:34:49 CEST 2014


     Hello, I am just starting out with Python and ran into a problem 
day one. I am doing this statement:

input("\n\nPress the enter key to exit.")

I get the following error:

 >>> input("\n\nPress the enter key to exit.")


Press the enter key to exit.
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "<string>", line 0

     ^
SyntaxError: unexpected EOF while parsing


I am using Linux (Shell) and PyCharm and get the same result when I run 
the command. I know this is stupid but any help would be appreciated.

Thanks,

Stefan


More information about the Tutor mailing list