Question: The second program should be named vacation. py . The outline of the story is shown below: ? ? ? and ? ? ? were
The second program should be named vacation. py The outline of the story is shown below:
and were best friends.
One day and decided to go on a
vacation to However, they didn't know
what to do with their pet named
had been causing problems, due to constant ing.
found a sitter for their pet, and went on the trip.
Again, locations with indicate that these should be replaced with a word specified by the computer user. Your
createstory function should take arguments. An example of running the program would look like so:
def main:
personone "Joe"
persontwo "Lily"
petname "Poncho"
animal "polar bear"
place "Madagascar"
adjective "Ridiculous"
verb "plank"
adverb "spastically"
story createstorypersonone, persontwo, petname,
animal, place, adjective, verb, adverb
printstory
main
Joe and Lily were best friends.
One day Joe and Lily decided to go on a
vacation to Madagascar. However, they didn't know
what to do with their Ridiculous pet polar bear named Poncho.
Poncho had been causing problems, due to constant planking.
Joe found a sitter for their pet, and spastically went on the trip.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
