0

Help an error

Whenever I run this code there is an error please help me my brain hurts. https://sololearn.com/compiler-playground/cWuqxmBp0ckh/?ref=app

14th Jul 2025, 5:10 AM
Jonah DeJonge
2 Antworten
+ 3
else does not accept any conditions so your elif have to be modified money = int(input('
#x27;)) print(money) if money < 40: print ('your poor') elif money >= 40 and money <= 80: print ('you got money') else: print ('give me your money') python also accepts the alternative notation elif 40 <= money <= 80:
14th Jul 2025, 5:43 AM
Bob_Li
Bob_Li - avatar
0
Thank you
14th Jul 2025, 5:14 PM
Jonah DeJonge