title: Filling dictionary for mix of int and str
body: <p>I want to populate dict in the following format:</p>
  
  <pre><code>columns=[14,116]
  spaces = {'A':[int(i) for i in range(0,columns[0])], 'B': [int(i) for i in range(0,columns[1])]}
  </code></pre>
  
  <p>That's easy if cols only [14,116], but I will get problem if cols have, for example here I have cols=[14,16,117,18,180,190]. To solve this, I tried this code:</p>
  
  <pre><code>alphabet=['A','B','C','D','E','F']
  columns=[14,16,117,18,180,190]
  spaces = dict(zip(alphabet, [int(i) for i in range(0,columns)]))
  </code></pre>
  
  <p>But I don't have an idea of putting columns[0],columns[1] inside zip</p>
  
  <p>The expected output:</p>
  
  <pre><code>namespaces = {'A':[int(i) for i in range(0,cols[0])],
                     'B': [int(i) for i in range(0,cols[1])], 'C': [int(i) for i in range(0,cols[2])], and so on...}
  </code></pre>
  
  <p>BTW, The above error throws an error:</p>
  
  <p><code>range()</code> integer end argument expected, got list.</p>