+ 1
In lesson python challenge? If statements
Thought this wouldnât be a problem and could go on with my day but it doesnât pass all 5 cases?!?!? https://code.sololearn.com/crRimE7q7SGW/?ref=app
2 Answers
+ 2
# try this code
money = int(input())
price = int(input())
if price <= 100 and money >= price*10:
money -= price*10
print(money)
0
B.Balaji still doesnât pass the 4th case