Python Quick Guide - Tutorialspoint

Line continuation examples To create a very long string you may want to define it on multiple lines, for this you can use the line continuation character “\” >>>hello = "This is a rather long string containing\n\ several lines of text just as you would do in C.\n\ Note that whitespace at the beginning of the line is\ significant." >>>print ... ................
................