 code. Using unpacking to update the values of multiple variables simultaneously is more concise than using assignments to update each variable individually.</p>
<div class="section" id="anti-pattern">
<h2>Anti-pattern<a class="headerlink" href="#anti-pattern" title="Permalink to this headline">¶</a></h2>
<p>The function below implements the classical Euclid algorithm for greatest common divisor.
The updates of the variables <code class="docutils literal notranslate"><span class="pre">a</span></code> and <