It is well known that single and double quotes in Python are often used by us, such as print, input, and so on.
But most of the strings that are directed to the printout are in double quotes, "hello,python! ", and single quotes more (three single quotes) are used to annotate the code.
Once we encounter a string containing multiple single quotes and double quotes, the system will automatically determine the quotation marks node, thus breaking in the middle, this time it is necessary to use three single quotation marks to the whole paragraph of the code, if you need a variable assignment,
You only need to set a variable assignment plus what you need, but you can print multiple lines directly with three single quotes before and after the content!
Why do you add variables? Because it's a rule! You think about it. If the variable setting is included directly, then the annotation is used, so be sure to add a variable to use OH.
This use effect:
1. Print multiple lines
2, processing encountered ("content" "content" content "content" contents "content") multiple single-and double-mixed complex situation for direct printing processing. Very convenient Oh!
Python string symbol: Double quote/single quotation mark usage annotations.