我正在尝试让第二个print语句等到我在命令行中按Enter键,但我不断收到意外的EOF错误。
print "hi"
continu = input("Press Enter to continue!")
print "hi"
这是我的追溯
Traceback (most recent call last):
File "save_cookies.py", line 2, in <module>
continu = input("Press Enter to continue!")
File "<string>", line 0
^
SyntaxError: unexpected EOF while parsing