0

Why I can't give instructions in the input?

In the Gotham City code whenever I try to use inside the input() is not showing it, finally after I left the input empty is showing correct, why I can't give instructions like put a number of enemies inside de input parentheses? Thanks in advance enemies = int(input()) <--- Inside this parentheses if enemies in range(0, 5): print("I got this!") elif enemies in range(5, 11): print("Help me Batman") else: print("Good Luck out there!")

12th Jul 2020, 6:42 AM
Whally O.
Whally O. - avatar
2 Answers
+ 1
i think SL use the entire output from your program to compare with the test case, and that is including the output from input command
12th Jul 2020, 6:51 AM
Taste
Taste - avatar
+ 1
Taste So, basically is mandatory to leave it empty then? Thank you for your answer
12th Jul 2020, 6:53 AM
Whally O.
Whally O. - avatar