def factorielle(n):
    f = 1
    for k in range(1,n+1):
        f = f * k
    return f
