Problem HS08TEST solution

I solved problem HS08TEST and submitted my answer. System returned wrong answer. Solution looks exactly like my code. Can someone tell me if they’ve faced this issue too?

try:
(amt,bal)=map(float,input().split(’ ‘))
if amt%5==0.0 and bal>=amt:
bal=bal-amt-0.5
print(format(bal,’.2f’))
except:
pass