QUESTION IMAGE
Question
question # 1
dropdown
you already know about lists. what missing function will return the index of 7 in the list?
>> mylist = 12, 5, 7, 3, 25
>> mylist. (7)
Brief Explanations
In Python, the index() method of a list is used to find the index of a given element. So to find the index of 7 in the list myList, we use the index function.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
index