multiple choice\nyou already know how to use lists. what is the index of 5 in the following list?\n2, 3, 5…

multiple choice\nyou already know how to use lists. what is the index of 5 in the following list?\n2, 3, 5, 1, 6\n3\n2\n1\n4

multiple choice\nyou already know how to use lists. what is the index of 5 in the following list?\n2, 3, 5, 1, 6\n3\n2\n1\n4

Answer

Explanation:

Step1: Recall list index starts at 0

In Python - like languages, list indices start from 0.

Step2: Count position of 5

The first element 2 has index 0, the second element 3 has index 1, and the third element 5 has index 2.

Answer:

B. 2