title: How to sum all the values in a dictionary?
body: <p>Let's say I have a dictionary in which the keys map to integers like:</p>
  
  <pre><code>d = {'key1': 1,'key2': 14,'key3': 47}
  </code></pre>
  
  <p>Is there a syntactically minimalistic way to return the sum of the values in <code>d</code>—i.e. <code>62</code> in this case?</p>