title: Python: Merge two lists of dictionaries
body: <p>Given two lists of dictionaries:</p>
  
  <pre><code>&gt;&gt;&gt; lst1 = [{id: 1, x: "one"},{id: 2, x: "two"}]
  &gt;&gt;&gt; lst2 = [{id: 2, x: "two"}, {id: 3, x: "three"}]
  &gt;&gt;&gt; merge_lists_of_dicts(lst1, lst2) #merge two lists of dictionary items by the "id" key
  [{id: 1, x: "one"}, {id: 2, x: "two"}, {id: 3, x: "three"}]
  </code></pre>
  
  <p>Any way to implement <code>merge_lists_of_dicts</code> what merges two lists of dictionary based on the dictionary items' keys?</p>