Which first should be determine during coding batman & Gothum city | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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
Nature of me
Nature of me - avatar
5 Respostas
+ 2
I used Payton
6th Mar 2020, 6:25 PM
Nature of me
Nature of me - 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 šŸ‡®šŸ‡³
6th Mar 2020, 6:34 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
Nature of me
Nature of me - 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 šŸ‡®šŸ‡³