在ATOM中使用Python输入的EOFerror

时间:2018-07-19 04:04:56

标签: python input atom-editor

我对编程有点陌生,刚上了在线课程,当我安装atom并尝试进行简单输入时,它回答了

EOFError: EOF when reading a line

第一行。我启动了python并运行了输入,它运行顺利。我用于atom的python版本是3.6.4。

代码如下:

applicant = input("Enter the applicant's name: ")
interviewer = input("Enter the interviewer's name: ")
time = input("Enter the appointment time: ")
print(interviewer, "will interview", applicant, "at", time)

(我从某处复制作为测试)

0 个答案:

没有答案