python find index of a word in array code example
Example: how to find index of list of list in python
[(i, colour.index(c))
for i, colour in enumerate(colours)
if c in colour]
[(i, colour.index(c))
for i, colour in enumerate(colours)
if c in colour]