原子中python输入的eoferor

2024-04-24 09:07:06 发布

您现在位置:Python中文网/ 问答频道 /正文

我对编程有点陌生,刚上完一门在线课程,当我安装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)

(我从某处抄来做测试)


Tags: thenameinputtime编程课程atomwhen