mad lib

A word game where a story has blanks for nouns, verbs and so on, filled from a player's answers without seeing the story.

In more detail

The course's first sample program is a mad lib: it asks for words, then prints the story with them substituted in. The same program returns several times, rebuilt with dictionaries, format strings, loops and finally a web page.

Related terms

Taught in

References