PROJECT2
Completed
Project 2: Dungeon Inventory Manager Project 2: Dungeon Inventory Manager

Combine dictionaries, loops, lists, functions, and return values in a menu-driven inventory project.

Project 2: Dungeon Inventory Manager

Sounds useful?

Jump into the interactive version.

No setup. No account. Just Python.

Interactive Python lesson

Project 2: Dungeon Inventory Manager

It is time to combine the tools from the first twelve sections of Beginner Python in one larger program. You will build a menu-driven inventory manager that stores item quantities, adds and uses items, creates sorted reports, counts all available units, and keeps running until the player quits.

What you will practice:

  • Store and update item quantities in a dictionary
  • Use safe lookups and work with dictionary data
  • Build and order readable report lines
  • Calculate totals from stored quantities
  • Divide a larger program into focused functions
  • Use parameters, return values, and a repeating menu

This project introduces no new Python syntax. The challenge is designing small helpers that share one inventory and cooperate without turning the menu into a dungeon of repeated code.

> Start now 8 cards · about 3 min

Ready to practice this in the browser?

> Play now