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