int("abc") raises:

  1. ValueError
  2. TypeError
  3. KeyError
  4. SyntaxError
Answer

A) ValueError

The string cannot be converted to an integer. SLO CS-11-C-07

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