阶乘

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

def fact(x):
    return x > 1 and x * fact(x - 1) or 1
print fact(6)