https://www.digitalocean.com/community/tutorials/how-to-format-text-in-python-3
Multiple lines
With multiple lines, strings can be grouped into clean and orderly text, formatted as a letter, or used to maintain the linebreaks of a poem or song lyrics
with triple quotes, you can print strings on multiple lines to make text, especially lengthy text, easier to read...
"""
This string is on
multiple lines
within three double
quotes on either side.
"""
Multiple lines
With multiple lines, strings can be grouped into clean and orderly text, formatted as a letter, or used to maintain the linebreaks of a poem or song lyrics
with triple quotes, you can print strings on multiple lines to make text, especially lengthy text, easier to read...
"""
This string is on
multiple lines
within three double
quotes on either side.
"""
댓글
댓글 쓰기