title: How do 'for' loops in lists work in Python?
body: <p>How does the <em>for</em> loop work in lists? Where can I find the documentation for this?</p>
  <p>Sometimes when I look at other posts on Stack Overflow I see this:</p>
  <pre><code>my_list = [x.split(&quot;,&quot;) for x in my_list]
  </code></pre>
  <p>(I tried looking it up on the documentation, but I couldn’t find it.)</p>