title: cursor.fetchall() in Python
body: <p>After saving some data in a variable with <code>cursor.fetchall()</code>, it looks as follows:</p>
  
  <p><code>mylist = [('abc1',), ('abc2',)]</code> this is apparently a list. </p>
  
  <p>That is not the issue.</p>
  
  <p>The problem is that the following doesn't work:</p>
  
  <pre><code>if 'abc1' in mylist
  </code></pre>
  
  <p>it can't find 'abc1'. Is there a way in Python to do it easily or do I have to use a loop?</p>