Question Detail

COS 102 Python strings Objective Question

Question

Which of the following is NOT a primary way Python offers to enclose text for string creation?
Options
A Single Quotes
B Double Quotes
C Backticks
Correct Answer
D Triple Quotes
Correct Answer

Option C is the correct answer.

Detailed Explanation

Page 4 explicitly lists 'Single Quotes', 'Double Quotes', and 'Triple Quotes' as the three main ways to enclose text. Backticks are not mentioned for string creation in Python.

Hint

Recall the specific types of quotation marks used for Python strings mentioned in the document.

Question Info