In lesson python challenge? If statements | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 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

27th Aug 2020, 12:28 AM
Roderick Davis
Roderick Davis - avatar
2 Antworten
+ 2
# try this code money = int(input()) price = int(input()) if price <= 100 and money >= price*10: money -= price*10 print(money)
27th Aug 2020, 1:56 AM
Balaji
Balaji - avatar
0
B.Balaji still doesn’t pass the 4th case
27th Aug 2020, 2:33 AM
Roderick Davis
Roderick Davis - avatar