+ 1

How to answer the other 4 test cases? How to meet the conditions for the other 4 cases? I am only able to satisfy the first case

Test case problem

5th Oct 2020, 5:10 PM
Aimbot
Aimbot - avatar
5 odpowiedzi
+ 3
Aimbot What you need to do is write a program that will work for any input, not just the test cases you can see. Use input() method to take the input (which will automatically give you the input for each case), then manipulate what you get into what you need to output. The code coach basically runs your code once for each test case, not once for all cases.
5th Oct 2020, 5:43 PM
Russ
Russ - avatar
+ 3
Try understanding what is asked in the question carefully,if you just do what is asked you will get all 5 test cases correct or you can ask questions related to what you might be doing wrong ,
5th Oct 2020, 5:16 PM
Abhay
Abhay - avatar
+ 1
You have to read the question carefully. For example, an > instead of an >= can make you fail a case. Also, if you would share your code, maybe we can help you
5th Oct 2020, 5:15 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 1
It asks for 5 outputs. Like it says.. test case 1 should be reversed bathroom.. which is moorhtab. And 4 more. How and where to write the answers for the other cases?
5th Oct 2020, 5:18 PM
Aimbot
Aimbot - avatar
0
THANKS!
6th Oct 2020, 3:11 AM
Aimbot
Aimbot - avatar