Back to courses
One-on-oneBuilderLIVE

Python Intermediate: Build a Duka Manager

Build a shopkeeper's app for a real Kenyan duka: track stock, record sales and print receipts. Your program saves its data with files and JSON so it remembers everything between days — then runs a boss report on demand. Assumes basic Python.

20 hours12 chaptersEnglishAges 8 to 17

Has finished at least one project

What you'll learn

  • Save your shop's data with files and JSON so it remembers everything between runs
  • Store products, prices and stock together using dictionaries
  • Model real records with nested data, like a proper stock book
  • Turn saved data into reports: totals, stock levels and best-sellers
  • Print a formatted sales receipt from stored data
  • Debug your own code and organise it into modules
The course journey

What your child will explore

Follow the course from the first idea to the finished project.

  1. Chapter 01

    Open for Business

    Plan the duka app, set up the project and write the first menu your shopkeeper will see.

  2. Chapter 02

    The Smart Price List

    Meet the dictionary: keep every product's price in one place and look any of them up instantly.

  3. Chapter 03

    The Stock Book

    Nest dictionaries so each product carries its price and stock together — a real shop's stock book, in code.

There's more to explore

Create an account or log in to see all 12 chapters.

digikids.

Kenya's leading STEM program for kids aged 8 to 17