return location of a word in a list 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