Question: What does this program do? N = int(input('Enter a number:')) f=1 i=1 while i < N: i=i+1 f = f*i print(f)
What does this program do? N = int(input('Enter a number:')) f=1 i=1 while i < N: i=i+1 f = f*i print(f)
Step by Step Solution
3.29 Rating (155 Votes )
There are 3 Steps involved in it
This program when executed calculates the factorial of a given input number N Heres a breakdown of h... View full answer
Get step-by-step solutions from verified subject matter experts
