In a string literal \b stands for some kind of ASCII character that is supposed to mean "move cursor one character to the left", which would allow overwriting previously printed text (on the same line). Pythonista's console is not a full terminal emulation, so it doesn't support "\b" and other control characters like a "normal" terminal. If you run this code in IDLE or another IDE you'd probably get similar results.