title: Assigning a value to list by index out of range
body: <pre><code>mylist = ["a", "apple", "b", "ball", "c", "cat"]
  mylist[6] = "value"
  print(mylist)
  </code></pre>
  
  <p>Error: </p>
  
  <pre><code>IndexError: list assignment index out of range
  </code></pre>
  
  <p>I remember assigning values by index in javascript, it doesn't work in python?</p>