1. String
What quotation marks must be used to end a string when it starts with a quotation mark. Everything between the three quotes is the content of the string , and the corresponding single and double quotes can only create a single-line string.
2. Escape character
\ , a single backslash at the end of the line indicates that the string continues on the next line instead of starting a new row.
3. Natural string
If you want to indicate certain strings that do not require special handling such as escape characters, then you need to specify a natural string. Natural strings are specified by prefixing the string with R or r .
4.Unicode string
Unicode is the standard way of writing international texts. Just precede the string with the prefix u or u, and use a Unicode string when you are working with a text file. Especially when you know that this file contains non-English language
Words to write the text of the time.
Python Basic Concepts-string