prnt('Hello') produces which error?

  1. IndexError
  2. TypeError
  3. ZeroDivisionError
  4. NameError
Answer

D) NameError

prnt is not defined — a misspelt name raises NameError. SLO CS-11-C-07 · Understanding

Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise