Question Detail

COS 102 Python strings Objective Question

Question

Which Python operator is used for concatenation, as described in the document?
Options
A <code>*</code>
B <code>&</code>
C <code>+</code>
Correct Answer
D <code>.join()</code>
Correct Answer

Option C is the correct answer.

Detailed Explanation

The 'Concatenation' section (page 5) explicitly states, 'In Python, we use the + operator.'

Hint

Review the section dedicated to 'Concatenation' and the operator it highlights.

Question Info