title: Update dictionary key with max value
body: <p>I would like to create a dictionary using list of key value pairs. There are duplicate keys and I don't want the key values to be the max value.</p>
  <pre><code>L1 = ['a','b','b','d']
  L2 = [1,3,2,4]
  d = {k:v for k,v in zip(L1,L2)}
  {'a': 1, 'b': 2, 'd': 4}
  </code></pre>
  <p>In the above code, the value for key 'b' is 2, I want it to stay 3 only as that is the max value.</p>