python n的阶乘

def factoriial(n):
    if n==1:
        return 1
    return n*factoriial(n-1)
print factoriial(5)