I have a list of lists that correspond to lines in file, with multiple columns.
[[col1, col2, col3], [elem1, elem2, elem3], [elem4, elem5, elem6]]
I want to check if (for example) elem3
is in any of the lists, and if it is, go into that list. (really I have a list of things I need to check, so it's a list that probably contains elem3
, elem5
, elem7
.... etc)