# Fonction factorielle itérative : def factorielle_1(n): fact = 1 i = 2 while i <= n: fact = fact * i i = i + 1 return fact