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?

30th Oct 2021, 11:42 AM
Mohammed
1 Resposta
+ 7
money >= total
30th Oct 2021, 11:57 AM
Simba
Simba - avatar
Quente hoje
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
help
0 Votes
AI
2 Votes
APIs
1 Votes