</a></h2>
<div class="section" id="use-a-def-for-named-expressions">
<h3>Use a <code class="docutils literal notranslate"><span class="pre">def</span></code> for named expressions<a class="headerlink" href="#use-a-def-for-named-expressions" title="Permalink to this headline">¶</a></h3>
<p>Refactor the <code class="docutils literal notranslate"><span class="pre">lambda</span></code> expression into a named <code class="docutils literal notranslate"><span class="pre">def</span></code> expression.</p>
<div cl