title: How to fill array from index to another index in Python
body: <p>How to fill an array from on index let's say 3 to 5 in an array containing 10 element <strong>without</strong> <strong>a for loop</strong>?</p>
  
  <p>Input:</p>
  
  <pre><code>[0,5,8,4,6,7,5,1,3,0]
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>[0,5,8,'replaced','replaced','replaced',5,1,3,0]
  </code></pre>