Step 1 of 4

Step 1 · Read and run

The story maker

This chapter's project asks the player for some words, then drops them into a story. The sillier the answers, the better the story.

It uses everything from this chapter:

  • input() to ask for each word.
  • int() for the number, because the story does maths with it.
  • f-strings to drop each answer into the right place.

Run it and answer the questions. Then run it again with different answers.

Run the program to carry on.
story.py

Output

Press Run to see what your program prints.