Multiline Strings with Triple Quotes A multiline string in Python begins and ends with either three single quotes or three double quotes . Any quotes, tabs, or newlines in between the “triple quotes” are considered part of the string.
What is a multiline string?
Multiline Strings with Triple Quotes A multiline string in Python begins and ends with either three single quotes or three double quotes . Any quotes, tabs, or newlines in between the “triple quotes” are considered part of the string.