title: Change multiple items in a list at one time in Python
body: <p>Can I change multiple items in a list at one time in Python? </p>
  
  <p>Question1:
  For example,my list is</p>
  
  <pre><code>lst=[0,0,0,0,0]
  </code></pre>
  
  <p>I want to the third and fifth item become 99.I know I can do it by</p>
  
  <pre><code>lst[2] = 99
  lst[4] = 99
  </code></pre>
  
  <p>However, is there any easier way to do this?</p>
  
  <p>Question2:in the situation,my target value is[99,98], my index is [2,4],so my result would be [0,0,99,0,98]. Is there any easy way to do this? Thanks.</p>