It is showing no output in testcase but working fine for given testcase

Naman, I have edited a little bit, pls try to submit now,

Since, you arent replying anything, I am marking this doubt as resolved, You can reopen it if you still face any issues…