Why is my answer not being accepted

apparently my solution is posting the correct output, i even compared the output with the output of the sample test and it is correct, why my answer is not accepted?

Question : https://online.codingblocks.com/app/player/93452/content/91367/4825/code-challenge

My solution : https://onlinegdb.com/S1OgLo89L

hello @manisini.chakraborty
add space after after each comma while printing output

@aman212yadav I tried that, didn’t work, all test cases failed.

it is working

@aman212yadav did you make any change in the code? because it was not working before but now it got accepted. :neutral_face:

I just added space after comma.
image

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.