4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

EOFError: EOF when reading a line は標準入力の値がセットされていない

Last updated at Posted at 2020-10-31

このサイトで解決しました

【terateil】書いたコードの間違いがわからなくて困ってます

自分がミスったもの

lesson.py
while True:
    line = input()
    if line == "_":
        break
    team.append(line.split(","))

line=input()
の時点で詰まっているというクソ。

EOFError: EOF when reading a line

というエラーが出てしまいました。

そもそも、標準入力で"値を取り出す"のに、値をセットし忘れるという初歩的なミスです。
このエラーが出てしまった時は、標準入力をセットし直しましょう。

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?