Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to find index of an element in list in python stackoverflow

ur_list = [1,8,14]
ur_list.index(8) # returns 1
 
PREVIOUS NEXT
Tagged: #find #index #element #list #python #stackoverflow
ADD COMMENT
Topic
Name
1+4 =