Pattern Numbers and stars

Sir Actually I am getting the error message while taking input
N=int(input()) what is wrong in this input method.

hi Anushka ,
while running program , we should provide custom input to the console. otherwise it will show EOFerror.
so try running program with custom input containing a number.
or try directly to submit code by clicking submit code.
if there another problem plz let me know