Why would I get NZEC error while taking inputs using python language.

As i am using the python
while taking inputs I am getting this
NZEC error along with
Traceback (most recent call last):
File “./prog.py”, line 1, in
EOFError: EOF when reading a line

Do share your code while asking these type of questions instead of just mentioning the error ; then people can help you in a better way.

If you received this error while working on any online judge, provide a link to your code. And in case you were testing something locally on your pc ; you can share the code using websites such as pastebin.com