title: Replacing an element of a list with multiple values
body: <p>if I have </p>
  
  <pre><code>l = ['a','b','x','f']
  </code></pre>
  
  <p>I want to replace <code>'x'</code> by <code>sub_list = ['c','d','e'</code>]</p>
  
  <p>What is the best way to do this? I have, </p>
  
  <pre><code>l = l[:index_x] + sub_list + l[index_x+1:]
  </code></pre>