list of words to index python code example
Example: how to get location of word in list in python
l = ['a','b','c']
print(l.index('b'))
----------------------------------
>1
l = ['a','b','c']
print(l.index('b'))
----------------------------------
>1