ators arbitrarily. Apart from terser code, this also has the advantage of having to evaluate the middle expression only once.<pre class=language-python data-lang=python style=background-color:#f5f5f5;color:#1f1f1f;><code class=language-python data-lang=python><span style=color:#72ab00;>>>> from </span><span>math </span><span style=color:#72ab00;>import </span><span>factorial
</span><span>
</span><span style=color:#7f8989;># factorial function gets called twice for this example
</span><span style=color:#72ab