how to get indez from list 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]