Home / Python Tips Generated By ChatGPT / Multi-line Strings with Triple Quotes in Python Use triple quotes for multi-line strings or docstrings. Source Code my_string = """Line 1 Line 2 Line 3""" print(my_string)