title: Create an array of size n with initialized value
body: <p>In python, it's possible to create an array of size n with <code>[] * n</code> or even initialize a fixed value for all items with <code>[0] * n</code>.</p>
  
  <p>Is it possible to do something similar but initialize the value with <code>500n</code>?</p>
  
  <p>For example, create an array with size of 10 would result in this.</p>
  
  <p><code>[0, 500, 1000, 1500, 2000, 2500, 3000, 3500, 4000, 4500]</code></p>
  
  <p>I can easily achieve this with a variable and a for loop as shown below but I would like optimize this in one go to pass into Robot Framework.</p>
  
  <pre class="lang-py prettyprint-override"><code>arr = [0] * 10
  for i, v in enumerate(arr):
    arr[i] = 500 * i
  </code></pre>