[Tutor] help!

Steven D'Aprano steve at pearwood.info
Sat Dec 19 18:43:48 EST 2015


On Sat, Dec 19, 2015 at 05:39:15PM +0000, Nathaniel Olivier via Tutor wrote:
> I don't understand what's wrong with this piece of code?

>         print ("

SyntaxError here. If you want multiply lines in a string, use THREE 
quotation marks, not one:

print ("""

more than one
line of text

""")


-- 
Steve


More information about the Tutor mailing list