Cara Menemukan Indeks Daftar Daftar dalam Python
[(i, colour.index(c))
for i, colour in enumerate(colours)
if c in colour]
Ugly Unicorn
[(i, colour.index(c))
for i, colour in enumerate(colours)
if c in colour]