Sir , please check why this code is not working?

This code belongs to the challenge above, output is perfectly fine but not passed even a single test case :frowning:

Hello @piyushkumar999999 please wait i am checking your code.

Hello @piyushkumar999999 this is the correct code:


you have done the silly error you should print for every value in ne line only.
that was the mistake in your code.
Happy Learning!!

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.