Question: Problem 2 In this problem create a facotrial calculator. As you may recall, the factorial of a number is every number from 1 through that
Problem In this problem create a facotrial calculator. As you may recall, the factorial of a number is every number from
through that number being multiplied. For example, or factorial,
Thus create a function that given an integer from through infinity it will generate the output to look like the example above.
The function should be named fact thus, if i input fact the output should be: There should also be a
catch, which is if a user enters into the function the result should be ie If the use enters a negative number the
user should be prompted with a "Please enter a positive integer and run code again" message. The function must use a while
loop. in python
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
