Backspace \b escape sequence won't work with multiple print() functions
<pre><code>&gt;&gt;&gt; print("x\by")
y

print("a", end="")
print("a", end="")
print("a", end="")
print("h", end="")

aaah
</code></pre>

<p>But with multiple print statements, I am getting this output -</p>

<pre><code>print("a\b", end="")
print("a\b", end="")
print("a\b", end="")
print("h\b", end="")

a a a h 
</code></pre>

<p>Why did it print extra space after each character.</p>

<p>The code works fine when executed from the Windows command line, I tested it in Pycharm's console.</p>

<p>But in python repl, the <code>\b</code> erases the previous character while it is supposed to move cursor a character backward.</p>

<pre><code>&gt;&gt;&gt; print("a\b", end="")
&gt;&gt;&gt;
</code></pre>