ProgQuiz
Python Quiz
Which error occurs when you execute the following Python code?
1
apple = mango
IndexError: list index out of range
NameError: name 'mango' is not defined
SyntaxError: invalid syntax
TypeError: cannot assign 'mango' to 'apple'
Go back home