title: Check if a value in a list is equal to some number
body: <p>I've got a list of data:</p>
  
  <pre><code>[[0, 3], [1, 2], [2, 1], [3, 0]]
  </code></pre>
  
  <p>And I'm trying to check if any of the individual numers is equal to 3, and if so return which element, so list[0],list[3] e.t.c within the original list contains this value 3. </p>
  
  <p>I've gotten as far as:</p>
  
  <pre><code>for i in range(0, len(gcounter_selection)):
    for x in range(0,len(gcounter_selection)):
      if any(x) in gcounter_selection[i][x]==3:
        print(i)
  </code></pre>
  
  <p>My list is called gcounter_selection by the way.</p>
  
  <p>But I'm getting a type error:</p>
  
  <pre><code>TypeError: argument of type 'int' is not iterable
  </code></pre>
  
  <p>I've tried using a generator expression but I couldnt get that to work either.</p>