Skip to lesson content
DigiTransact AI Learning CentreMy assessment

Beginner studio project

Expense tracker

A fictional Tamale food seller wants to see what she spends on ingredients each day.

1 · Set the requirements

Date, category and amount in pesewas; add, remove and total entries; reject blanks and negative expense amounts.

2 · Make a paper fixture

Make three paper receipts and compute a control total. Represent GHS values as integer pesewas before summing.

3 · Build one working slice

Build a local expense table. Label amounts in GHS, validate each entry and recalculate when I remove a receipt; do not send records anywhere.

4 · Compare your output

An editable day ledger whose displayed total agrees with the paper receipts.

5 · Run the acceptance test

Add GHS 8.50 and GHS 2.25: expect GHS 10.75. Remove the first: expect GHS 2.25. A blank amount must not add a row.

6 · Stage the demo

Preview from a clean local folder with an empty ledger; never publish a saved expense history. To preview from your project folder with Python installed, run python -m http.server 8000 --bind 127.0.0.1 and open http://127.0.0.1:8000/. Stop with Ctrl+C. No public deployment is needed.

Project assessment

Private to this browser profile. Use practice data only; notes are not encrypted. Each note needs at least four words and 20 characters.

Review capstone requirements