Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

need to know how to do nested 'if' statements that have multiple inputs and multiple possible conclusions. You are to write a choose your own

image text in transcribed
image text in transcribed
need to know how to do nested 'if' statements that have multiple inputs and multiple possible conclusions.
You are to write a "choose your own adventure" style Python program. You will allow the user to determine the outcome of the story by asking questions on how they wish to react to certain scenarios Example snippet: The Tale of the Vampire Cat = What is your name? Toby Hello, Toby You wake up hearing a scratching noise at your cellar door. You ignore it at first, but the scratching gets louder and louder. Eventually you can no longer stand the noise, get up from bed, and go downstairs to see what the ruckus is. Through the window pane you see a small black cat staring at you with yellow eyes. What do you choose to do? a) Open the door b) Go back to bed Choice: a You entered at The moment you open the door, the cat speaks aloud... "Toby... let me inside"... Stunned, you blink at the cat... What do you choose to do? a) Close the door b) Let the cat inside c) Tell the cat to get lost Choice: Requirements: . . . You are to implement at least 10 alternate endings to the story. You should have at least one variable from the user that appears in the story olused my name above At least one prompt must have more than three options for example the second prompt above You do not need to worry about edge cases from user input For example, if the user entered to the first question above, I can assume they entered 'b'. Your program must be nicely spaced such that it is pleasing to the eye (not a wall of text). . O

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

=+In what groups are you a member? Military service

Answered: 1 week ago

Question

In an Excel Pivot Table, how is a Fact/Measure Column repeated?

Answered: 1 week ago