Quotation in Python
Categories: Python
Python acceptssingle ('), double (") and triple (''' or """)quotes to denote string literals, as long as the same type of quotestarts and ends the string.
The triple quotesare used to span the string across multiple lines. For example, allthe following are legal −
word = 'word'
sentence = "Thisis a sentence."
paragraph ="""This is a paragraph. It is
made up ofmultiple lines and sentences."""