title: making one list a dictionary with elements
body: <pre><code>    a = [
  {&quot;price&quot;:[&quot;9&quot;,&quot;20&quot;],
      &quot;name&quot;:[&quot;samsung&quot;, &quot;somsung2&quot;]},
      {&quot;price&quot;:[&quot;40&quot;,&quot;50&quot;],
      &quot;name&quot;:[&quot;iphone&quot;, &quot;iphone2&quot;]}
  
      ]
  
  
  for x in range(len(a)):
      for c in a[x].values():
          ...
  </code></pre>
  <p>how can i do to dictionary to show like : <code>{&quot;9&quot;:&quot;samsung&quot;, &quot;20&quot;:&quot;somsung2&quot;, &quot;40&quot;:&quot;iphone&quot;, &quot;50&quot;:&quot;iphone2&quot;}</code></p>