''' total amount = x || withdrwal amount = y '''
y,x = input().split(" ")
y = int(y)
x = float(x)
if(0<=x<=2000.0 and 0<y<=2000):
if(x>=(y+0.5) and y%5==0):
print(round((x-y-0.5),2))
else:
print(round(x,2))
problem code: HS08TEST(ATM PROBLEM)… MY CODE has compiled successfully and also has given correct output but while submitting i am getting runtime error (NZEC) every time. How should i modify my code? please help
please help