</code> is a list), Python will automatically iterate through the list and assign <code class="docutils literal notranslate"><span class="pre">elems[0]</span></code> to <code class="docutils literal notranslate"><span class="pre">elem0</span></code>, <code class="docutils literal notranslate"><span class="pre">elems[1]</span></code> to <code class="docutils literal notranslate"><span class="pre">elem1</span></code>, and so on.</p>
<div class="section" id="anti-pattern">
<h2>Anti-pattern<a class="headerlink"