во время тестов показывает сообщение об ошибке:
Traceback (most recent call last):
File "tictactoe/tictactoe.py", line 10, in <module>
coordinates = input("Enter the coordinates: ")
EOFError: EOF when reading a line
Я не могу представить, что вызывает эту проблему. Код:
c = True
while c:
coordinates = input("Enter the coordinates: ") # <-- line 10 is this one
if coordinates == '':
print("Coordinates should be from 1 to 3!")
continue
elif len(coordinates) < 3 or len(coordinates) > 3:
print("Coordinates should be from 1 to 3!")
continue
Спасибо за поддержку
EOF
(CTRL
+D
) вinput
. Это то, что вы отправляете на стандартный ввод, что вызывает это? - person C.Nivs   schedule 15.01.2020stdin
тому, что выполняет тест. - person C.Nivs   schedule 15.01.2020