Home » Programming Language (coding) » Python MCQs » Which of the following results in a SyntaxError?

Which of the following results in a SyntaxError?

Which of the following results in a SyntaxError?

A. ‘3\’
B. “He said, ‘Yes!’”
C. ‘”Once upon a time…”, she said.’
D. ”’That’s okay”’

Correct Answer: Option A. ‘3\’ 

Take Part in Discussion:

Your email address will not be published.

Solve : *
24 + 21 =