title: Can I append an element to a list that is currently being processed in a for loop?
body: <p>I'd like to simply know if this does not lead the program to errors.</p>
  
  <pre><code>for a in b:
      if &lt;condition&gt;:
          b = b + [something]
  </code></pre>