Loading repository data…
Loading repository data…
larabinada752-netizen / repository
💵 Expense Tracker Mock — A simple Python project to practice tracking expenses. 📝
A simple Python CLI project to track daily expenses using mock data only. Perfect for beginners or Python learners who want a practical demo project without dealing with databases or APIs
Show all expenses (mock data)
Add random expense (mock)
Calculate total expenses automatically
Simple CLI interface — easy to run and modify
Fully functional using only Python’s standard library
Python 3.7+
No external libraries needed
| Step | Description |
|---|---|
| 1 | Download or clone this repository |
| 2 | Make sure Python 3 is installed |
| 3 | Open a terminal in the project folder |
| 4 | Run the program with: python expense_tracker.py |
| 5 | Choose from the menu options shown |
| 6 | Use option 3 to exit the program |
![]()
Expense Tracker (Mock Data)
Date: 2025-10-01 | Category: Food | Amount: $12.50 Date: 2025-10-02 | Category: Transport | Amount: $3.00 Date: 2025-10-03 | Category: Entertainment | Amount: $20.00 Date: 2025-10-04 | Category: Food | Amount: $8.00 Date: 2025-10-05 | Category: Shopping | Amount: $50.00
Total expenses: $93.50
All data is mock data, stored in memory — nothing is saved to files.
You can easily add new categories by editing the CATEGORIES list in the code.
The amount and category of each random expense are generated automatically using Python’s random module.