+ 1
Why doesn't work on test case #5?
crimnum = int(input()) if crimnum < 5 and crimnum > 0: answer = "I got this!" elif 5 <= crimnum <= 10: answer = "Help me Batman" elif crimnum > 10: answer = "Good Luck out there!" print(answer)
2 Réponses
+ 3
All you have to do is take out 'and crimnum>0' , then it works.
Maybe the last input is zero?
+ 1
elif 5 >= crimnum