why is it not passing the testcases?
Testcases problem
Hello @Rj.25
You do Not need to print extra lines than what are required.
Remove line number 7
In line 11 change ‘\t’ to " " because we need to print a space and NOT tab
Remove line 13 and 14 they are extra
Always run your code on the sample test case to see if it matches the corresponding output.
Here is the modified code
If you still have any doubt, just leave a reply to this thread and I will help you out.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.