Finding an element that occurs in two lists, in a list of lists : <p>I have a list of lists:</p>

<pre><code>[[10, 9, 8], [8, 7], [1, 2, 3]]
</code></pre>

<p>The sublists are not necessarily of the same size.
I need to find a number that occurs in two seperate lists, and return the list index and the numbers index in those lists.</p>

<p>in this case it would be 8, list 0, list 1, list 0 idx 2, list 1 idx 0.</p>

<p>Right now I am doing it with a bunch of for loops, but this is ridiculously slow... are there are faster more pythonic way of achieving this?</p>
