Irin
asked

Expert
Palistha Singh answered
In Python, multi-line strings are used when you want to store or display text that spans across multiple lines — instead of just one.
You define a multi-line string using triple quotes ('''
or """
).
Example:
message = """Hello!
Welcome to Python programming.
This is a multi-line string."""
print(message)
Output:
Hello!
Welcome to Python programming.
This is a multi-line string.
If you have more questions, I’m here to help — feel free to ask anytime!
Python
This question was asked as part of the Learn Python Basics course.