I cant do this | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I cant do this

So while trying to pass gotham city it was saying wrong please help me: c = int(input()) good = 9 help = 4 if c > good: print("Good luck out there!") elif c > help: print("Help me Batman") else: print("I got this!")

20th Oct 2021, 12:44 PM
ZalfoOfficial
ZalfoOfficial - avatar
2 Answers
+ 1
ZalfoOfficial , read the task description carefully - "more than 10", doesn't mean ">9" , "less than 5" doesn't mean "<5".Also luck should be starting with capital letter => "Luck".Look at the corrected code. Hope it helps you. https://code.sololearn.com/c3DNS1vZUwDJ/?ref=app
20th Oct 2021, 2:57 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 1
c>help and c>good But you must write code to run one of them
21st Oct 2021, 3:04 PM
MJARAB
MJARAB - avatar