Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Again, locations with ? ? ? indicate that these should be replaced with a word specified by the computer user. Your create _ story function
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 createstory personone, 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started