+ 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 Antworten
+ 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