<pre>
<code class="language-python">
def factorial(n):
if n == 1:
return n
return n * factorial(n-1)
[меньше, чем]/code>
</pre>
<pre>
<code class="language-python">
def factorial(n):
if n == 1:
return n
return n * factorial(n-1)
</codе>
</pre>