title: Append 2 separate return values of one function to 2 separate lists in a for loop in Python3
body: <p>I have a function that returns 2 lists separately, in principle like this:</p>
  
  <pre><code>def function_returns_two(many_args**):
      do_something_fancy
      return list1, list2
  </code></pre>
  
  <p>This function returns a different <em>list1</em> each time you call it, because there is some random picking of rows from a pandas dataframe involved, while <em>list2</em> is always the same. — Now I want to iterate this function, in principle:</p>
  
  <pre><code>for i in range(10):
      data, labl = function_returns_two(many_args**)
  </code></pre>
  
  <p>But obviously that won't work as needed, because for every iteration <em>list1</em> and <em>list2</em> get <strong>assigned</strong> to the same variable (<em>data</em>, <em>labl</em>), that is the previously assigned values get replaced.</p>
  
  <p>Instead, I want to append them. — But how? Is it even possible?</p>
  
  <pre><code>for i in range(10):
      (data, labl).append(function_returns_two(many_args**)) # ???
  </code></pre>
  
  <p>How would you solve this?</p>
  
  <hr>
  
  <p><em>PS: Im already using this function for another task, and I'd like to reuse it here. Of course, if what I want is not possible, I can still build a separate function.</em></p>