What's wrong test cases failing input correct

hello @pranjuldwivedi120568

ur code is correct.
its because of some extra padding/space in the start of every line in output file , ur code is not passing.
ss

check ur updated code here->