What is EOFerror

sir i am recently encountered with EOFError in N=input() line of code.can you please clear my doubt

As a general definition,
EOFError is raised when one of the built-in functions ( input() or raw_input() ) hits an end-of-file condition (EOF) without reading any data.
Assuming you are familiar with stdin and stdout streams, EOF exception is raised when stdin has no contents to be read by input(). This exceptions arises when u couple your stdin stream with an external file.