title: Python dictionary; sum values of the same keys
body: <p>It might be simple but I'm just a beginner.
  If I have this dictionary;</p>
  <pre><code>ds = {&quot;ABab&quot;: 6.25, &quot;aBab&quot;: 6.25, &quot;Abab&quot;: 6.25, &quot;abab&quot;: 6.25, &quot;ABab&quot;: 6.25, &quot;aBab&quot;: 6.25, &quot;Abab&quot;: 6.25, &quot;abab&quot;: 6.25, &quot;ABab&quot;: 6.25, &quot;aBab&quot;: 6.25, &quot;Abab&quot;: 6.25, &quot;abab&quot;: 6.25, &quot;ABab&quot;: 6.25, &quot;aBab&quot;: 6.25, &quot;Abab&quot;: 6.25, &quot;abab&quot;: 6.25}
  </code></pre>
  <p>is there a way to create this?:</p>
  <pre><code>ds_new = {&quot;ABab&quot;: 25, &quot;aBab&quot;: 25, &quot;Abab&quot;: 25, &quot;abab&quot;: 25}
  </code></pre>
  <p>If there is no way to do this, thank you for looking into it anyway.</p>