NZEC error in python


hello everyone,
I am beginner here and I started with python 3
every time I run code most of the time it give me this error and I don’t know why,
and I always wonder some time the code with this error( in run) submitted properly and some time it shows at submission same error run time (NZEC).
and yes I read all the asked question about it and didn’t get answer which suits for me.
thanks in advance !


Can you share some of your codes with the problem link?

There may be many kinds of error like error in taking input etc


above is my first code ,
I am trying to understand and debug this in my local environment but I didn’t get any error.


Isn’t this code accepted