Having problem with runtime error

my custom input run properly but without custom input, I get a run time error of EOFError: EOF when reading a line please help me with that

This post looks like an Answer to a bunch of existing posts.

It only happens in python.
USE this :

   #Your code
expect EOFError: