Computer Science, asked by CHSURYASASIDHAR2990, 1 year ago

How to find the index of an item given a list containing it in Python?

Answers

Answered by ram92865
0

what is the meaning python

Answered by tekakira934
0

Answer:

L.index(element)

Explanation:

if L is a list such that L = [1,2,3,4,5,6,7,8]

to find the index of the number for example 5 we use the code

L.index(5)

Similar questions