+ 1

Which first should be determine during coding batman & Gothum city

I have use the if else statement during this code but i have not even success the first case so guide me guy

5th Mar 2020, 7:46 PM
Aphran Mohammed
Aphran Mohammed - avatar
5 Antworten
+ 2
I used Payton
6th Mar 2020, 6:25 PM
Aphran Mohammed
Aphran Mohammed - avatar
+ 1
One can assist you if you show your attempt. Can you show your attempt? Tag the language also.. Else you can find many solution for same problem from using search bar..
5th Mar 2020, 8:28 PM
Jayakrishna 🇮🇳
+ 1
criminals = int(input()) if (criminals < 5): print("'I got this!'") elif(criminals >= 5 and criminals <=10): print("'Help me Batman'") else: print("'Good Luck out there!'")
6th Mar 2020, 6:53 PM
Aphran Mohammed
Aphran Mohammed - avatar
+ 1
You just putting extra '' around output... put either ' or " only.. and extra spaces, then check again..
6th Mar 2020, 7:01 PM
Jayakrishna 🇮🇳