Python How to top list of dicts up
<pre><code>[{'month': 7.0, 'sumd': 11}, {'month': 8.0, 'sumd': 20}]
</code></pre>

<p>I have this list. This is aggregation of months and some values. How to top it up by 0 to get something like this?</p>

<pre><code>[0, 0, 0, 0, 0, 0, 0, 11, 20, 0, 0, 0, 0]
</code></pre>

<p>EDIT
This first list has dicts with only this months which has something in sumd. If month does't have any information in sumd it will not be in list.</p>

<p>But in second list I need only value from sumd order by months number(but with all months - if any months was not in first list, set 0.)</p>