on given input I am getting right inputs but at the time of submit it shows wrong answer.Approved plese
Programme run but wrong answer show
@sauravbisht00
Two issues with your code.
First issue is not your mistake at all to be honest. I understand that the problem statement says to print the numbers from 1 to N but as you can see the sample testcase gives output from 0. You should include 0 in your output.
Second issue is with the output format. You are giving a line space after every integer when you should simply give a whitespace as in the sample testcase.
Kindly make these changes and try submitting your code again and let me know if you need any help with it.
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.