Can you read his

i am getting sample output right but none of test cases are passed .what is the problem??linkk to my solution is

@royprincejmp hey roy the problem is that with your code your code is printing a extra new line in output line but actual output doesn’t have it.

@jaiskid can you please eleborate i am not getting whhere it is producing an extra line

@royprincejmp I have replied to your chat option