title: How to add multiple values to a dictionary key?
body: <p>I want to add multiple values to a specific key in a python dictionary. How can I do that?</p>
  <pre><code>a = {}
  a[&quot;abc&quot;] = 1
  a[&quot;abc&quot;] = 2
  </code></pre>
  <p>This will replace the value of <code>a[&quot;abc&quot;]</code> from <code>1</code> to <code>2</code>.</p>
  <p>What I want instead is for <code>a[&quot;abc&quot;]</code> to have multiple values (both <code>1</code> and <code>2</code>).</p>