pyBegin / projects / madlibs
✏️

Madlibs Generator

A Tkinter app that lets you pick one of three story templates and fill in a noun, adjective, verb, and adverb to generate a Mad Lib story.

93 linesRunnable

Madlibs Generator

A Tkinter app that lets you pick one of three story templates and fill in a noun, adjective, verb, and adverb to generate a Mad Lib story.

Example

  1. The window opens showing a story picker (choices 1–3), and entry fields for a noun, adjective, verb, and adverb.
  2. Enter 1 for the story choice, noun dragon, adjective ancient, verb fly, adverb swiftly.
  3. Click "Generate Mad Lib".
  4. The generated story appears below the button, filling the template with your words — e.g. "In a mystical and distant land, there was a brave and ancient explorer named dragon…"

How to run on localhost

python main.py

Dependencies

tkinter (standard library).