

The value is a 16-bit hexadecimal 4-digit characterĤ x's represent 4 digits, like "041b" in the exampleĨ x represent 8 digits, such as "000001a9" in the exampleĪ character whose value is 3 digits in octalĪ character whose value is 2 digits in hexadecimal The opposite is print("a\nb"), there is a "hard return" between a and b (copied in Word) There is a "soft return" between a and b (copy in Word) The characters after \r are moved to the beginning of the line, and the same number of characters at the beginning of the line are replaced If you copy and paste it in word, you can see that there is a page between hello and worldĬharacter named name in the Unicode databaseĪdd a suffix u in py2, that is, u\N "Distribution" is displayed as an "up arrow". Take care only when using double quotes within double quotes Take care only when using single quotes within single quotes It is feasible in python's own editor IDLE, but not in pycharm
