title: Search for list with element inside list [Python 3]
body: <p>Suppose I have list <code>A</code>, defined as <code>[['foo',1],['bar',2]]</code>. How would I find the list inside of <code>A</code> that has <code>'foo'</code> inside of it?</p>