def factorielle(n): fact=1 for i in range(n): fact*=(i+1) return fact