Dictionary to Sparse Vector Python
<p>please help me on this homework:</p>

<p>makeA({0: 1, 2: 1, 4: 2, 6: 1, 9: 1})</p>

<p>the output should be like this:</p>

<pre><code>[1, 0, 1, 0, 2, 0, 1, 0, 0, 1]
</code></pre>
