Please help me out with this question

The solution I have written is showing correct output…yet on submission it is showng all test cases wrong…what is the problem?
i have shared my code below

Hi Shulin,
there’s a very trivial mistake in your code. You are expected to put a space and comma ( ,) after printing every number. Your code only has the comma.