# factorialIterative.py
# Iterative implementation of factorial

def factorial( N ):
    F = 1
    i = N
    while i > 1:
        F = F * i
        i -= 1
    return F

B = factorial(10)
print( B )
