title: Multiple Assignments in Python dictionary comprehension
body: <p>Lets say I have a list</p>
  
  <pre><code>demo  = [['Adam', 'Chicago', 'Male', 'Bears'], ['Brandon', 'Miami', 'Male', 'Dolphins']]
  </code></pre>
  
  <p>I want to make a list of dictionaries using a comprehension that looks like</p>
  
  <pre><code>[{'Adam':'Chicago', 'Gender':'Male', 'Location':'Chicago', 'Team':'Bears'},
  {'Brandon':'Miami', 'Gender':'Male', 'Location':'Miami', 'Team':'Dolphins'} }
  </code></pre>
  
  <p>It easy enough to assign two starting values to get something like</p>
  
  <pre><code>{ s[0]:s[1] for s in demo} 
  </code></pre>
  
  <p>but is there a legitimate way to assign multiple values in this comprehension that may look like </p>
  
  <pre><code>{ s[0]:s[1],'Gender':s[2], 'Team':s[3] for s in demo} 
  </code></pre>
  
  <p>Its such a specific question and the I dont know the terms for searching so Im having a hard time finding it and the above example is giving me a syntax error.</p>