vendredi 8 juillet 2016

Automatic test input causes end of file error with python


I am currently writing a program that is supposed to return certain values when it completes, but the system that tests it is a black box (don't know how it tests the program), and even though if I ran the program by itself on my own or with another users input, the automated tester always raises an end of file error when it encounters the first input prompt. This the part that is in the main portion of the python code (kind of the first thing that runs).

y=list(input("Enter numbers separated by commas and spaces"))
x=list(input("Do the same as above but for other list"))

The tester raises the end of file error on the first prompt. Any idea what may cause that?


Aucun commentaire:

Enregistrer un commentaire