IT WILL NOT BE 234.6 FOR PF GANG JUST TOOK THE TEST
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.
- <em>Take stock. Know what personal information you have in your files and on your computers.</em>
- <em>Scale down. Keep only what you need for your business.</em>
- <em>Lock it. Protect the information that you keep.</em>
- <em>Pitch it. Properly dispose of what you no longer need.</em>
- <em>plan </em><em>ahead</em>
<em>hope </em><em>it</em><em> helps</em>
Answer:
N=5 key task decision start and end
Explanation: