Question OOP-EXC-0029
EasyWhich exception does Python raise for int('abc')?
- A.
ValueError
- B.
SyntaxError
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Exception Handling question
Which exception does Python raise for int('abc')?
ValueError
SyntaxError
Sign up free to see the answer and a step-by-step explanation.
TypeError
KeyError