Question

The list.index(x[, start[, end]]) is used to ___.

A Return zero-based index in the list Correct Answer Incorrect Answer
B Raises a ValueError if there is no such item Correct Answer Incorrect Answer
C Both A and B Correct Answer Incorrect Answer
D None of the mentioned above Correct Answer Incorrect Answer

Solution

Both A and B

Practice Next

Relevant for Exams:

×
×