标签: python sublimetext2 user-input eof
number = input("Enter a non-negative integer: ")
每当我尝试运行此操作时,都会出现EOF错误。我正在使用Sublime Text 2和Python 2.6.1。 有趣的是,当我在终端上运行它时,它运行正常。