Below is my code for the ATM practise problem. I am getting runtime error for this. Do anyone has any idea?
plz help me…!
X = float(input())
Y = float(input())
if X < Y:
if X%5 == 0:
Y = Y-X-0.5
print('%.2f'%Y)
else:
print('%.2f'%Y)
else:
print('%.2f'%Y)