explain how to use it
- User
explain how to use it
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
explain how to use it
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Here's a step-by-step guide on how to use the Budget Manager:
Step 1: Save and Run
budget_manager.pypython budget_manager.py (or python3 budget_manager.py on Mac/Linux)Step 2: First Launch When you run it, you'll see a menu like this:
Budget Manager
==============
1) Add Income
2) Add Expense
3) List All Transactions
4) Show Summary
5) Quit
Select an option [1-5]:
Adding Income (Option 1) Let's say you got paid $2000:
Select an option [1-5]: 1
Amount : 2000
Category : Salary
Note : Monthly paycheck
✅ Income of 2000 added in 'Salary'.
Adding Expenses (Option 2) Let's add some expenses:
Select an option [1-5]: 2
Amount : 800
Category : Rent
Note : Monthly rent payment
✅ Expense of 800 added in 'Rent'.
Select an option [1-5]: 2
Amount : 150
Category : Groceries
Note : Weekly shopping
✅ Expense of 150 added in 'Groceries'.
Viewing All Transactions (Option 3)
Select an option [1-5]: 3
Transactions:
1. [2025-06-15] income | Salary | 2000.00 | Monthly paycheck
2. [2025-06-15] expense | Rent | 800.00 | Monthly rent payment
3. [2025-06-15] expense | Groceries | 150.00 | Weekly shopping
Getting a Summary (Option 4)
Select an option [1-5]: 4
=== Summary ===
Total Income : 2000.00
Total Expense: 950.00
Balance : 1050.00
Breakdown by Category:
expense | Groceries | 150.00
expense | Rent | 800.00
income | Salary | 2000.00
Categories to Consider:
Sample Workflow:
Data Storage:
budget_data.json in the same folderExample Monthly Routine:
# Beginning of month - add income
1 → 3000 → Salary → March salary
# Throughout the month - add expenses as they happen
2 → 1200 → Rent → Monthly rent
2 → 80 → Utilities → Electric bill
2 → 45 → Groceries → Weekend shopping
2 → 25 → Entertainment → Movie tickets
# End of week/month - check summary
4 → (see how much you've spent and what's left)
The program keeps running until you choose option 5 to quit, so you can add multiple transactions in one session. Each time you restart the program, all your previous data will still be there.