Challenge: Iterative factorial
Complete the factorial function by implementing an iterative solution using a for loop to compute the product of numbers from 1 to n. Learn to calculate factorials efficiently without recursion or special cases for zero. This lesson reinforces understanding of iterative approaches in recursion algorithm contexts.
We'll cover the following...
We'll cover the following...
Finish the provided factorial function, so that it returns the value
Your code should use a for loop to compute ...