int("abc") raises:
- ValueError
- TypeError
- KeyError
- 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
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