Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get location of word in list in python

l = ['a','b','c']
print(l.index('b'))
----------------------------------
>1
Source by www.google.com #
 
PREVIOUS NEXT
Tagged: #location #word #list #python
ADD COMMENT
Topic
Name
9+7 =