title: Use variable as key name in python dictionary
body: <p>This feels redundant:</p>
  
  <pre><code>name = 'Isaiah'
  myInfo = {
    'name': name
  }
  </code></pre>
  
  <p>Is there a shorter, idiomatic way to do this, like in JavaScript:</p>
  
  <pre><code>myInfo = { name }
  </code></pre>
  
  <p><strong>Edit</strong>: changed the variable name from <code>dict</code> to <code>myInfo</code>, since <code>dict</code> is a keyword.</p>