Here’s my code. Don’t know what went wrong.
withdraw,balance = map(float,input().split())
for_floatm = “{:.2f}”.format(balance)
charge = 0.50
sec = withdraw + charge
if (sec<balance) and (withdraw % 5 == 0):
new_bal = balance - withdraw - charge
formatted_float1 = “{:.2f}”.format(new_bal)
print(formatted_float1)
else:
print(for_floatm)