How to print multiple lines of text with Python

You can use triple quotes (single ‘ or double “):

a = """
text
text
text
"""

print(a)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)