How can I get the index of a list inside of another list but, I want to find the index by using an element of that “inside” list in Python? for example I have

```
 [["dead"["brain.txt"],["alive",["grail.txt"]]. 

```

Now I want to find the index of the second list but using the element alive. So if I have an input and I write alive, it should give me the index 1, in which alive is stored.p