title: How to combine tuples from two generators in python
body: <p>I want to use two generators in a single for loop. Something like:</p>
  
  <pre><code>for a,b,c,d,e,f in f1(arg),f2(arg):
      print a,b,c,d,e,f
  </code></pre>
  
  <p>Where a,b,c,d and e come from f1 and f comes from f2. I need to use the yield operator because of space constraints. </p>
  
  <p>The above code however doesn't work. Due to some reason it keeps on taking values (for all six variables) from f1 until it is exhausted and then starts taking values from f2.</p>
  
  <p>Please let me know if this is possible and if not is there any workaround. Thank you in advance.</p>