Home » Programming Language (coding) » Python MCQ » 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

Leave a Reply

Your email address will not be published. Required fields are marked *

Solve : *
23 × 22 =