NZEC error Python 3.6

Hello Friends,

When I am using input for python I am facing the NZEC error. The IDE says “EOFError: EOF when reading a line”. The same code if I run in my laptop it is running fine. But in codechef with IDE 3.6 it is throwing this error. Can anybody help me on this

Click on custom input checkbox then paste the test case in the box and press run.
Hope it helps!

It is most probably caused by you leaving the custom input empty
In the ide of CodeChef, you need to paste your input all together ( int the custom input panel which appears when you check the custom input box )

try:

 code

except:
pass

WRITE CODE IN THIS WAY IT WILL WORK

Hey dude!
This is unexpected error!
Some users face this error while other don’t…
use this syntax this will definitely help u out…

try:
code
except:
pass

1 Like

Same problem can anyone tell reason behind this?

because of no input while running it gets non zero exit code.