Examveda

What will be the output of the following Python code?
lst = [1, 2, 3]
lst[3]

A. NameError

B. ValueError

C. IndexError

D. TypeError

Answer: Option C


This Question Belongs to Python Program >> Exception Handling In Python

Join The Discussion

Related Questions on Exception Handling in Python