Python NZEC Runtime Error

It is happened because you probably didn’t use custom input while compile.

Thank you, this helped me.

I am getting NZEC for the following code at line 1.

inp = input()
inp = input().split(' ')
withdraw_amt, bal = float(inp[0]), float(inp[1])
if withdraw_amt%5 == 0 and withdraw_amt<bal:
    bal-=withdraw_amt+0.50
print('{:.2f}'.format(bal))

The complete error is:

Traceback (most recent call last):
File "./prog.py", line 1, in <module>
EOFError: EOF when reading a line

Are you trying to “Run” without Providing “Custom Input”?