I wrote,
print('C:\docs\rohit')
>>> C:\docsohit
You see rohit is my name but in result, I got docssohit well basically it moves a sentence toward left but in my case specifically in IDLE it is giving something else. IDLE 3.8.0
I wrote,
print('C:\docs\rohit')
>>> C:\docsohit
You see rohit is my name but in result, I got docssohit well basically it moves a sentence toward left but in my case specifically in IDLE it is giving something else. IDLE 3.8.0
Python IDLE does not properly handle control charcaters like \r
,b
etc.. Use Python console interpreter (python.exe
,python3.exe
) instead.
Use Visual Studio and install the python addons instead.