Answer:
The program to this question can be given as:
Program:
factorial=1 #declare a variable.
number=int(input("Enter a positive integer:")) #input a number.
while (number>0): #loop
factorial= factorial*number # holding value in factorial variable
number=number-1
print('=',factorial) #print value.
Output:
Enter a positive integer:6
= 720
Explanation:
The description of the above python program can be given as:
- In the above program firstly we define a variable that is "factorial". In this variable, we assign a value that is 1 and it is used to calculate the factorial value.
- We define a variable "number". The number variable is used to take input from the user.
- Then we define a loop in the loop we calculate the factorial and hold the value in the factorial value in the last we print the value.
Answer: The answer would be Bethlehem!
Since all terms have an x in them, you can first factor that out, yielding:
f(x) = x(x² - 6x + 9)
Then you are looking for numbers that multiplied give 9 and added give -6, which is -3 and -3. So the final factorization is:
f(x) = x(x-3)²
It lets them reach out to people on that platform that can advertise their products