Robotics & Artificial Intelligence

You can get the …………… value of an element using the index() function.

  1. First
  2. Second
  3. Index
  4. Face

Python List Manipulation

1 Like

Answer

First

Reason — The index() method returns the index (position) of the first occurrence of the given element in a tuple/list. So, if the element appears multiple times, index() gives the first index value where it is found.

Answered By

2 Likes


Related Questions