ConvertQCM/C1/vs/r17_d.py
2025-08-26 18:38:28 +02:00

7 lines
No EOL
102 B
Python

def factorielle(n):
i = 0
fact = 1
while i <= n:
i = i + 1
fact = fact * i
return fact