Compute the product of all integers from the start of the list up to each position.
Constraints
Example
>>> running_product([1, 2, 3, 4]) [1, 2, 6, 24] >>> running_product([3, -1, 2]) [3, -3, -6] >>> running_product([]) []
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints