Wrong ans for every test case but working fine for example


plz see and let me know where I went wrong

@Vishu_1801 lemme review it bro!

@Vishu_1801 bro code ek dum correct hai, very good but just tum hr test case ko print ek hi line mein kr rahe ho, new line mein nahin.
Baaki good!
Happy coding!

Kartik Sir u are a very good coder and a true gentleman. Thank u for your help and support. can I have yourWhattsApp number ??