title: Get dict key by max value
body: <p>I'm trying to get the dict key whose value is the maximum of all the dict's values.</p>
  
  <p>I found two ways, both not elegant enough.</p>
  
  <pre><code>d= {'a':2,'b':5,'c':3}
  # 1st way
  print [k for k in d.keys() if d[k] == max(d.values())][0]
  # 2nd way
  print Counter(d).most_common(1)[0][0]
  </code></pre>
  
  <p>Is there a better approach?</p>