Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 40121

ATM problem please tell whats wrong..

$
0
0
x,y=input().split()
y=float(y)
if(x>0andx<=2000)and(y>0andy<=2000)and(float(x)+0.5<=y)and(x%5==0):
y=y-x-0.5
print("%.2f"%y)
else:
print("%.2f"%y)

Viewing all articles
Browse latest Browse all 40121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>