Python - Extract multiple lists from a list of lists by index
<p>Is there an efficient way to loop through a list of lists and extract the 1st element of each list into another list, 2nd elements into another one, etc. Such as:</p>

<pre><code>x = [[1, 2, 3], [4, 5, 6] , [7, 8, 9]]
y1 = [i[0] for i in x]
y2 = [i[1] for i in x]
</code></pre>

<p>Is there a way to extract y1 and y2 in a single list comprehension?</p>
