See the string literal documentation:
\b
ASCII Backspace (BS)
It produces a backspace character. Your terminal backspaced over the second o
when printing that character.
More Related Contents:
- Using quotation marks inside quotation marks
- Python 2.7 getting user input and manipulating as string without quotations
- How To Get All The Contiguous Substrings Of A String In Python?
- Most pythonic way to interleave two strings
- Split string using a newline delimiter with Python [duplicate]
- Strip spaces/tabs/newlines – python
- Python string literal concatenation
- How do I check if raw input is integer in python 2.7?
- Why python’s list slicing doesn’t produce index out of bound error? [duplicate]
- What is a clean way to convert a string percent to a float?
- pandas: replace string with another string
- What does !r do in str() and repr()?
- Byte Array to Hex String
- How can I copy a Python string?
- What does “table” in the string.translate function mean?
- Counting maximum k-mer repetition frequency
- Split string every nth character?
- Python regex – r prefix
- How to use pip with Python 3.x alongside Python 2.x
- Python csv string to array
- How do you create nested dict in Python?
- How to remove the left part of a string?
- Remove text between () and []
- Why are python strings and tuples are made immutable?
- Selenium Webdriver in Python – files download directory change in Chrome preferences
- Reading a file with a specified delimiter for newline
- How do I escape curly-brace ({}) characters in a string while using .format (or an f-string)?
- class method generates “TypeError: … got multiple values for keyword argument …”
- Win32api is not giving the correct coordinates with GetCursorPos() in python
- Can’t install pygame on mac