I do not know if I did something wrong but it started happening after upgrading to Pycharm Professional 2022.2
When I run a python file the output is not formatted to separate each new line with a newline character. So I get a weird kind of output in console.
I get something like this
Whereas it was formatted with a newline character at end of every line earlier.