0

This my code for the GOTHAM CITY challenge only works for two test cases

I'm using python criminals = int(input()) if criminals < 5: print ("I got this!") if criminals >= 5 <= 10: print ("Help me Batman") if criminals > 10: print ("Good Luck out there")

3rd Sep 2021, 12:31 PM
Kelvin Kenneth
1 Réponse
+ 6
Correct syntax If 5<= criminals <= 10: Also, you're missing a `!` at the end. print ("Good Luck out there!")
3rd Sep 2021, 12:37 PM
Simba
Simba - avatar