I’m having a issue with vs code terminal. Whenever I run a code which takes multiple test cases, the output which shows in the terminal is wrongly formatted. What I want is that the output of all the test cases should be shown at the end, but what happens is that 1st test case’s output gets mixed with 2nd test case input. Please help me solve this issue. Thanks!
Below is the image for the test case and expected output and what I’m getting as an output in my vs code in ubuntu :
[extected output]: https://i.stack.imgur.com/XBFR7.png
[output format which I get if I copy paste the input and run the code]: https://i.stack.imgur.com/THb0G.png
Thanks a lot once again, I hope to get my problem solved as soon as possible. I’m stuck at this issue for a long time and wasn’t able to find any fix even after searching lot on the internet.