title: Python one liner to substitute a list indices
body: <p>I want to replace those elements of <code>list1</code> whose indices are stored in list <code>indices</code> by <code>list2</code> elements. Following is the current code:  </p>
  
  <pre><code>j=0
  for idx in indices:
     list1[idx] = list2[j]
     j+=1
  </code></pre>
  
  <p>Is it possible to write a one-liner for the above four lines using <strong>lambda function</strong> or <strong>list comprehension</strong>?</p>
  
  <p><strong>EDIT</strong><br>
  <code>list1</code> contains float values<br>
  <code>list2</code> contains float values<br>
  <code>indices</code> contain integers between <code>0</code> and <code>len(list1)</code></p>