Computer Science, asked by patelatish3134, 11 months ago

Which function is use for returning the lowest index in list that obj appears.

Answers

Answered by staeen
0

Answer:

Python list method index() returns the lowest index in list that obj appears.

Answered by letmeanswer12
0

Python list method index() returns the lowest index in list that obj appears

Explanation:

Python list method index() is an inbuilt function, which searches for the given element from the start of the list and returns the lowest index where the element appears.

  • Syntax - list.index(obj)
  • Parameters - (obj) − Specifies the object to find the index.
  • Return Value - This method returns the index of the object found otherwise raises an exception which indicates that value is not found.

Similar questions