Python 3.6 error Contest Code:PRACTICE Problem Code:HS08TEST

here I am not able to understand why code is not working
mySollution → Solution: 56477934 | CodeChef
myProblem → Contest Page | CodeChef
please reply

1 Like

Thank you Sir
Now I got where I was lagging

1 Like

X , Y = map(float,input().split())
if Y>(X+0.50) and X%5==0:
v=(Y-X-0.5)
print(’%.2f’%v)
else:
print(’%.2f’%Y)

Sir this is also not working

https://www.codechef.com/viewsolution/56504824

1 Like

Thanks sir
https://www.codechef.com/viewsolution/56507050

How can I think like this :sweat_smile: :sweat_smile: