title: Returning every element from a list (Python)
body: <p>I know that it is possible for a function to return multiple values in Python. What I would like to do is return each element in a list as a separate return value. This could be an arbitrary number of elements, depending on user input. I am wondering if there is a pythonic way of doing so?</p>
  
  <p>For example, I have a function that will return a pair of items as an array, e.g., it will return <code>[a, b]</code>.</p>
  
  <p>However, depending on the input given, the function may produce multiple pairs, which will result in the function returning <code>[[a, b], [c, d], [e, f]]</code>. Instead, I would like it to return <code>[a, b], [c, d], [e, f]</code></p>
  
  <p>As of now, I have implemented a very shoddy function with lots of temporary variables and counts, and am looking for a cleaner suggestion.</p>
  
  <p>Appreciate the help!</p>