title: Iterate and adding value to result
body: <p>Simple question. What I try to achieve is this:</p>
  
  <pre><code>p1 &lt;- 1
  p2 &lt;- p1 + 1.5
  p3 &lt;- p2 + 1.5
  </code></pre>
  
  <p>But then in a For loop for 50 points and each point stored in a list. Using this code I only add 1.5 to the orignal number (p1) 50 times:</p>
  
  <pre><code>for (i in 1:50){
    list[[i]] &lt;- p1 + 1.5
  }
  </code></pre>
  
  <p>How would i be able to add 1.5 to each next point and store in a list?
  Can be R or Python.</p>
  
  <p>Thanks!</p>