Coding Task: 04.02 Storyteller

What an amazing story!

Your Task

Fill in the ________ (blanks) and complete the code to write the program below:

1) Ask the user what happens at the beginning of the story.

2) Keep asking the user what happens next, until they type in “the end

3) Tell the user how wonderful their story was!

Python Reference Sheet

Remember to use the Python reference sheet to help you with your code! Click on one of the buttons below:

Requirements

  • The program should run without any errors.
  • The program should ask the user what happened next in an infinite loop, until the user types the end.

Example

Below is an example of how the program should run:

What happens at the start?
Once upon a time, I saw a cat.
Wow... then what happened?
It was very cute and I gave it a pat.
Wow... then what happened?
It climbed onto my shoulder and happily sat.
Wow... then what happened?
It purred and purred, then chased after a rat.
Wow... then what happened?
the end
What a truly awesome story!
Scroll to Top