1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
def factorial(n): i = 1 x = 1 while i <= n: x = x * i i = i + 1 return x iteration = 1 result = 0 while iteration <= 100000: result = factorial(15) iteration = iteration + 1 print(result)