Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: When would you use triple quotes as a delimiter?
Answer:

Triple quotes ‘’” or ‘“ are string delimiters that can span multiple lines in Python. Triple quotes are usually used when spanning multiple lines, or enclosing a string that has a mix of single and double quotes contained therein.

Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook