CodeX-API icon indicating copy to clipboard operation
CodeX-API copied to clipboard

Python code compilation error

Open cSubhradipta opened this issue 2 years ago • 1 comments

Encountering error during compilation of code with more than one input. Here is the code: a = input() b = input() print(a, b)

And here is the compilation message:

Traceback (most recent call last): File "/app/codes/63db007e-7ed3-473e-abe9-d5a0e2c95fa8.py", line 2, in b = input() EOFError: EOF when reading a line

cSubhradipta avatar May 20 '23 03:05 cSubhradipta

Hi. You have to send each Input data from a new line. image

oybekrustamov avatar Jul 11 '23 15:07 oybekrustamov