Runtime error(NZEC)

I am new to codechef, i was trying atm problem of begineer section, the code is running correctly in my laptop but is giving runtime error(Nzec) in online ide. I need to know what is the problem in my code.
Here is the code:

wdraw=0.50
while True:
    a=input('enter the initial bank balance')
    try:
        a=float(a)
    except:
        print('entered value is not of correct type')
        continue
    b=input('enter the amount of money to withdraw')
    try:
        b=int(b)
    except:
        print('entered value is not of correct type')
        continue
    if b%5==0:
        if b<a:
            a=a-b-wdraw
            print('transaction complete')
            print('Currrent balance',a)
            break
        else:
            print('Not enough balance')
            print('Current balance',a)
    else:
        print('entered value is not a multiple of 5')

Hey, you are not doing any software development here so that UI should be user friendly.

NOTE : Always make sure your output only what is required not even a unnecessary space.

Remove all the unnecessary print statements and also input hints and even logic needs correction otherwise balance can get negative.

One more thing you can always safely assume that the input format will be as mentioned in the problem, you explicitly need not handle the inputs like you are doing in your code.