This will happen if you try to use an index that is out of range for a

Question:

This will happen if you try to use an index that is out of range for a list.

a. A ValueError exception will occur.

b. An IndexError exception will occur.

c. The list will be erased and the program will continue to run.

d. Nothing—the invalid index will be ignored.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: