Question: Note: This program must be written in Python For this interactive assignment, you will continue to utilize loops and functions and write a Python program
Note: This program must be written in Python
For this interactive assignment, you will continue to utilize loops and functions and write a Python program that asks the user for an integer (number) greater than 1. Once the user enters an integer, it should then allow the user to choose between the following two options:
- If 1 is entered, a countdown from that number to zero is printed.
- If 2 is entered, the factorial of the number is printed.
If the user inputs a number less than 1, your program should display a message informing the user that the program only accepts numbers greater than 1.
(Note: As a programmer, you should always consider telling the user what type of data the program is expecting before they attempt to enter that data.)
Once you have completed the program, take a screen shot of the completed functionality (including the input and the output) and save it in a Word document, along with the script.
In your initial post,
- Attach your Word document.
- Describe your process in developing the program.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
