CBSE Class 12 Computer Science Question 41 of 105

Python Revision Tour — Question 5

Back to all questions
5
Question

Question 5

A string can be surrounded by three sets of single quotation marks or by three sets of double quotation marks.

Answer

True

Reason — A string literal is a sequence of characters surrounded by single or double or triple double quotes or triple single quotes.