Question: Python please. Ad-Libs are fun stories created with words that a user provides without knowing the context ahead of time. Goal: Print the following story
Python please.

Ad-Libs are fun stories created with words that a user provides without knowing the context ahead of time. Goal: Print the following story to the output console, where each word in brackets (e.g. ) is meant to be replaced by the user's choice: Once upon a time there was a(n) [ANIMAL] named [NAME] who lived in a [PLANT]. [NAME] liked to go [ACTIVITY]. Ask the user for the following information... ...one question at a time, in this particular order: 1. An activity such as swimming or hiking. 2. A type of plant. 3. A type of animal. 4. A name. Then replace the words in brackets in the story with the user's answer to each of your questions. Put the sentence together and display it on the screen. You can word your questions/prompts however you want, but make sure the story you display at the end matches the required format exactly. Every space, period, and parenthesis needs to match. Example: The program asks En and the user responds (and hits ENTER). The program asks and the user responds hits ENTER). The program asks and the user responds (and hits ENTER). The program asks and the user responds (and hits ENTER). Then the program puts together all the parts of the sentence with the user's words and displays: Once upon a time there was a(n) lion named Maurita who lived in a ficus. Maurita liked to go programming
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
