whats the error in my code ?


Pooja would like to withdraw X $US from an ATM. The cash machine will only accept the
transaction if X is a multiple of 5, and Pooja’s account balance has enough cash to perform the withdrawal transaction (including bank charges). For each successful withdrawal the bank charges 0.50 $US. Calculate Pooja’s account balance after an attempted transaction.

my code:__

x=int(input())
y=float(input())
if x%5==0:
 if x+0.50>y:
   print(y-x+0.50)
else:
  print(y) 

it is showing the runtime error(NZEC)
Problem Code: HS08TEST

Share link of your solution instead of code… I can’t understand anything in you code…