title: How to fill a dictionary in python?
body: <p>I have a list of lists like so: <code>N = [[a,b,c],[d,e,f],[g,h,i]]</code></p>
  <p>I would like to create a dictionary of all the first values of each list inside N so that I have;</p>
  <pre><code>d = {1:[a,d,g],2:[b,e,h],3:[c,f,i]}
  </code></pre>
  <p>I have tried many things and I cant figure it out. The closest I have gotten:</p>
  <pre><code>d = {}
  for i in range(len(N)):
      count = 0
      for j in N[i]:
          d[count] = j
          count+=1
  </code></pre>
  <p>But this doesnt give me the right dictionary? I would really appreciate any guidance on this, thank you.</p>