Single Choice Not Set

QWhat will be the output after the following statement?
a = "Python Practice'

ID: #3961 Python Errors and Exceptions Handling 317 views
Question Info
#3961Q ID
Not SetDifficulty
Python Errors and Exceptions HandlingTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A SyntaxError
  • B TypeError
  • C ValueError
  • D NameError
Correct Answer

Explanation

SyntaxError
  Input In [51]
    a = "Python Practice'
        ^
SyntaxError: unterminated string literal (detected at line 1)

Share This Question

Challenge a friend or share with your study group.