Adding a item into a a dictionary in Python
<p>I have a dictionary that store the values as lists for each key. For example:</p>

<pre><code>dict1={}
dict1["A"]=[]
</code></pre>

<p>I want to append numbers into this list now, but how do I do this correctly? I tried <code>dict1["A"]=dict1["A"].append(1)</code></p>

<p>this only appended <code>"None"</code>. How do I do this?</p>
