program to compute the factorial of number illustrates for loop with an accumulator def main() eval(input("please enter whole number")fact for factor in range( , ,- )fact fact factor print("the factorial of" "is"factmain(of coursethere are numerous other ways this program could have been written have already mentioned changing the order of factors another possibility is to initialize fact to and then use factors starting at (as long as you might try out some of these variations and see which one you like best limitations of computer arithmetic it' sometimes suggested that the reason "!is used to represent factorial is because the function grows very rapidly for examplehere is what happens if we use our program to find the factorial of please enter whole number the factorial of is that' pretty big numberalthough recent versions of python have no difficulty with this calculationolder versions of python (and modern versions of other languages such as +and javawould not fare as well for examplehere' what happens in several runs of similar program written using java run please enter whole number the factorial is run please enter whole number the factorial is run please enter whole number the factorial is