Which function is use for returning the lowest index in list that obj appears.
Answers
Answered by
0
Answer:
Python list method index() returns the lowest index in list that obj appears.
Answered by
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
Math,
5 months ago
Math,
5 months ago
Computer Science,
11 months ago
Computer Science,
11 months ago
Math,
1 year ago
Math,
1 year ago