title: tqdm progressbar and zip built-in do not work together
body: <p>tqdm is a Python module to easily print in the console a dynamically updating progressbar.  For example</p>
  
  <pre><code>from tqdm import tqdm
  from time import sleep
  for _ in tqdm(range(10)): 
      sleep(0.1) 
  </code></pre>
  
  <p>prints a dynamic progressbar in the console for 1sec as the iteration executes:
  <a href="https://i.stack.imgur.com/yHtf3.png" rel="noreferrer"><img src="https://i.stack.imgur.com/yHtf3.png" alt="enter image description here"></a></p>
  
  <p>I have not figured out how to use tqdm with the builtin zip object.<br>
  The use case of this would be to iterate over two corresponding lists with a console progressbar.<br>
  For example, I would expect this to work:</p>
  
  <pre><code>for _, _ in tqdm(zip(range(10), range(10))):
      sleep(0.1)
  </code></pre>
  
  <p>but the progressbar printed to the console in this case is not correct:
  <a href="https://i.stack.imgur.com/A0Pmu.png" rel="noreferrer"><img src="https://i.stack.imgur.com/A0Pmu.png" alt="enter image description here"></a></p>
  
  <p>A workaround is to use tqdm with enumerate, however then an iterator index must be defined and managed.</p>