If you need to write a very very long string, it needs to span more than one line, then you can use three quotation marks instead of normal quotes.
Print " " This is a very long string. It continues here. And it ' s not over yet. " Hello, world! " Still here. " "
You can also use a single double quotation mark, such as "" Like this "". Note that because of this unusual way of referencing, you can use both single and double quotes in a string, without having to escape using backslashes.
########################## Split Line ########################
Ordinary expressions can also span rows, and if the last character in a row is a backslash, the line break itself is "escaped", which is ignored. For example:
Print " Hello, world!. "
This phrase will print Hello, world!, and this usage also applies to this expression and statement:
>>> 1 + 2 + print 'Hello,world'Hello, World
Python--long string