HELLO ,
this is my code
b, t = input().split(" ")
b = float(b)
t = float(t)
if t < b + 0.5 and (t % 5 == 0):
b = b - (t + 0.5)
print(“your current balance”, “%.2f” % b)
else:
print(“your balance”, b)
i don’t understand where is the problem in this situation
thank you for your help
Edit: I found the question.
Remove that " your current balance" and “your balance” from if else statements.
Use these:-
print("%.2f"%b) # for if
print("%.2f"%t) # for else