Given items = [10, 20], which exception type results from items[4]?
Explanation
Index 4 lies outside the valid positions of this two-item list, so direct subscription raises IndexError. Slices can clip excessive bounds, but this expression is a single index rather than a slice.