title: Move dictionary elements to list in list of dictionary
body: <p>I have a list like this:</p>
  <pre><code>information = [{
       &quot;info&quot;: {
          &quot;first_name&quot;: &quot;John&quot;,
          &quot;last_name&quot;: &quot;M.&quot;
      },
       &quot;code&quot;: &quot;1&quot;
      },
  
      {
       &quot;info&quot;: {
           &quot;first_name&quot;: &quot;Sara&quot;,
           &quot;last_name&quot;: &quot;B. R.&quot;
       },
        &quot;code&quot;: &quot;2&quot;
      }]
  </code></pre>
  <p>I want to convert above list as follow:</p>
  <pre><code>information = [{
      &quot;first_name&quot;: &quot;John&quot;,
      &quot;last_name&quot;: &quot;M.&quot;,
      &quot;code&quot;: &quot;1&quot;
  },
  
  {
      &quot;first_name&quot;: &quot;Sara&quot;,
      &quot;last_name&quot;: &quot;B. R.&quot;,
      &quot;code&quot;: &quot;2&quot;
  }]
  </code></pre>
  <p>I used nested loops like this(, but it's not <code>clean code</code>:</p>
  <pre><code>for item in information:
      if 'info' in item.keys():
           for key in item.values():
               ...
  </code></pre>
  <p>What is best practice?</p>