Functional programmer:<p><pre><code>    import operator
    def factorial(n):
        return reduce(operator.mul, xrange(1, n+1), 1)
    print factorial(6)
</code></pre>
Cutting-edge programmer:<p><pre><code>   import math
   print(math.factorial(6))</code></pre>