Question: In this programming exercise, you ll write two mad lib program, that act as the host of the game. The program will take as argument

In this programming exercise, youll write two mad lib program, that act as the host of the game. The program will take as argument various strings (words), and then it will return a single string with a story using these words. Please provide sample code and please show the passed output test cases.
Move Mad Lib
The first program should be named move. py. The outline of the story is shown below:
??? decided to move from their apartment on 5th
to a condo on ???. They called their friend ???
for help. However, they could not fit ??? into
the moving truck, so they had to rent a ??????
in order to move it!
The locations with ??? indicate that these should be replaced with a word specified by the computer user. Your
create_story function should take 6 arguments, and fill them in to the story. An example of running the program would look
like so:
def main():
person_one = "Janet"
street_name = "Loopdydoo Avenue"
person_two = "Richard"
object_name = "Christmas tree"
vehicle = "Horse-drawn carriage"
adjective ="0ff-road"
story = create_story(person_one, street_name, person_two, \
object_name, vehicle, adjective)
print(story)
main()
Janet decided to move from their apartment on 5th
to a condo on Loopdydoo Avenue. They called their friend Richard
for help. However, they could not fit Christmas tree into
the moving truck, so they had to rent a Off-road Horse-drawn carriage
in order to move it!
In this programming exercise, you ll write two

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!