title: How to use tqdm to iterate over a list
body: <p>I would like to know how long it takes to process a certain list.</p>
  
  <pre><code>for a in tqdm(list1):
      if a in list2:
          #do something
  </code></pre>
  
  <p>but this doesnt work. If I use <code>for a in tqdm(range(list1))</code> i wont be able to retrieve the list values.</p>
  
  <p>Do you know how do do it?</p>