Python 3.6 error Contest Code:PRACTICE Problem Code:HS08TEST

here I am not able to understand why code is not working
mySollution → CodeChef: Practical coding for everyone
myProblem → HS08TEST Problem - 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: