title: How to replace multiple items in a list in a single statement in python
body: <pre><code>a=[0] *10
  a[0] ='phase new'
  a[3] ='first event'
  a[6] ='mid event'
  a[9] ='tail event'
  </code></pre>
  
  <p>I am looking for a code that outputs like in a short in python:</p>
  
  <pre><code>['phase new',0,0,'first event',0,0,'mid event',0,0,'tail event'] 
  </code></pre>