title: Factorial function in Python
body: <p>I am new to Python, and am just learning the syntax and various functions. I would like to know if </p>
  
  <pre><code>x=reduce((lambda x,y: x*y) , [x for x in range(5) if x &gt; 0])
  </code></pre>
  
  <p>is a correct function for calculating the factorial of a number ? </p>
  
  <p>Kind Regards</p>