📜  python search list of lists for value return index - Python代码示例

📅  最后修改于: 2022-03-11 14:46:08.550000             🧑  作者: Mango

代码示例1
[(i, colour.index(c))
 for i, colour in enumerate(colours)
 if c in colour]