how do i print a word from list by the index python code example
Example 1: how to get location of word in list in python
l = ['a','b','c']
print(l.index('b'))
----------------------------------
>1
Example 2: get index of list python
list.index(element)