I'm proud to be a Lazy Python Programmer... but not lazy enough to skip "What's New in Python 2.5":<p><pre><code>    def factorial(x):
        return x * factorial(x-1) if x &#62; 1 else 1</code></pre>