title: Populating list with values
body: <p>I have a list called  <strong>deck</strong> with 16 items in it:</p>
  
  <pre><code>deck = range(0,8)*2
  </code></pre>
  
  <p>I need to create a list that has the same number of entries as the <strong>deck</strong> list, but initially, they're all set to <strong>False</strong></p>
  
  <p>Say the name of the new list is <strong>new_list</strong></p>
  
  <p>How do I create this list without typing <strong>False</strong> 16 times? When I try this, I get index out of range error.</p>
  
  <pre><code>deck = range(0,8)*2
  new_list = []
  for card in deck:
      new_list[card] = False
  </code></pre>
  
  <p>Thanks</p>