I am using carriage return in between a string. However, it is not working as expected.
string = 'My website is Latracal \rSolution'
print(string)
Expected Output:
Solutionte is Latracal
Actual Output:
My website is Latracal Solution
My python version is python 3.10
I am using IDLE
as the terminal emulator.
When running the same code in PyCharm
I get the following output:
Solution