title: More than 2 rules for return in def() Python
body: <p>If I create a function like this is any possible way to add more <code>if</code>, <code>elif</code> statements? <code>continue</code> for negative number or <code>break</code> for big values in one big line? Without <code>if:if:</code> tree? 
  factorial() only for example.</p>
  
  <pre><code>from functools import reduce
  
  def factorial(n):
      """return n!"""
      return 1 if n&lt;2 else reduce(lambda x, y: x*y, {i+1 for i in range(n)}) 
  </code></pre>