0
Ice Cream for everyone, I keep failing test case 1?
Here is my code: money = int(input()) price = int(input()) total = price*10 if money > total: print(money-total) All of the test cases pass except the first one. I have tried accounting for the case specifically with a nested if (if money == total) but that has also resulted in fail. Also tried d = money - total but this has also failed. Any ideas?
1 Odpowiedź
+ 7
money >= total