Home » Programming Language (coding) » Python MCQs » What error will occur when you execute the following code? MANGO = APPLE

What error will occur when you execute the following code? MANGO = APPLE

What error will occur when you execute the following code?

MANGO = APPLE

A. NameError
B. SyntaxError
C. TypeError
D. ValueError

Answer: A. NameError

Take Part in Discussion:

Your email address will not be published.

Solve : *
7 × 22 =