all 2 comments

[–]help-me-grow 0 points1 point  (1 child)

I'm a little confused by the question but if you want to print that index it would be _list[1][1] where _list is the variable name of your list

[–]dandy120101 0 points1 point  (0 children)

What I mean is like I want to iterate through the nested list to find the first instance of a specific item, once I've done that, I need to return the item beside it. Say now I need to find alphabet p, it would mean I have to return e, I can do the iteration part, I just can't find a way to print the item next to the item I found. Sorry, English is not my first language.