Question OOP-EXC-0030
EasyWhich exception does Python raise when a list index is out of range?
- A.
IndexError
- B.
RangeError
- 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 when a list index is out of range?
IndexError
RangeError
Sign up free to see the answer and a step-by-step explanation.
KeyError
ValueError