title: Find the index of an item in a list of lists
body: <p>I have a list of lists:</p>
  <pre><code>colours = [[&quot;#660000&quot;,&quot;#863030&quot;,&quot;#ba4a4a&quot;,&quot;#de7e7e&quot;,&quot;#ffaaaa&quot;],[&quot;#a34b00&quot;,&quot;#d46200&quot;,&quot;#ff7a04&quot;,&quot;#ff9b42&quot;,&quot;#fec28d&quot;],[&quot;#dfd248&quot;,&quot;#fff224&quot;,&quot;#eefd5d&quot;,&quot;#f5ff92&quot;,&quot;#f9ffbf&quot;],[&quot;#006600&quot;,&quot;#308630&quot;,&quot;#4aba4a&quot;,&quot;#7ede7e&quot;,&quot;#aaffaa&quot;]]
  </code></pre>
  <p>What's the cleanest way of searching the list and returning the position of one of the items, e.g. <code>&quot;#660000&quot;</code>?</p>
  <p>I have looked at the <code>index</code> method, but that doesn't seem to unpack the list inside the list.</p>
  <pre><code>postion = colours.index(&quot;#660000&quot;)
  </code></pre>
  <p>gives: <code>ValueError: ['#660000'] is not in list</code>, not <code>[0][0]</code> as I expect...</p>