# File: factorial1.py # # Compute the factorial iteratively def fac(n): product = 1 for i in range(2,n+1): product = product * i return product def main(): print("3! =", fac(3)) print("5! =", fac(5)) print("17! =", fac(17)) print("93! =", fac(93)) main()