Question: IN Python ,Write a function productOf() which has a parameter as an integer and we will use an accumulator to calculate the multiplication of a
IN Python ,Write a function productOf() which has a parameter as an integer and we will use an accumulator to calculate the multiplication of a range of numbers using for loop and return the product of numbers. For example, 1*2*3*4 = 24.
Example
input is 4
Output is 24
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
