更加高级的阶乘

f = lambda x: x and x * f(x - 1) or 1
print f(6)

编程技巧