Looking to find the element index of an element in a nested loop.
table = [
[1, "Y", 3],
[4, 5, "K"]
]
for i in range(len(table[0])):
for j in range(len(table)):
print(table[i].index("Y"))`
But every time I run the the code it tells me Y is not in my list