python: get first value from list as value on dictionary
<p>I have an array of dictionaries. Each dictionary has an "id" as its key and a corresponding list attached to it.</p>

<p>I want to iterate over the list of dictionaries and access the first liste item from each dictionary's value.</p>

<p>As an idea , the data structure is as follows:</p>

<pre><code>[ {"abc": [1,2,3]}, {"def":[4,5,6]} ]
</code></pre>

<p>I'd want to iterate through and get [1,4] </p>