SELECT PROJECT
๐ Project 1: Real-time Data App
PROJECT GOAL (เคเฅเคฏเคพ เคฌเคจเคพเคจเคพ เคนเฅ)
Create an Expense Tracker in Python that takes a list of financial transactions to process
automated budget tracking.
Requirements
1. Inside the Program, use an empty dictionary to categorize and store item costs systematically.
2. The Program will accept a list (expense_list) containing data tuples like ("Food", 250) or ("Travel", 100).
3. Run a for loop to process each transaction and track the active balance details.
4. Validation Logic :
Requirements
1. Inside the Program, use an empty dictionary to categorize and store item costs systematically.
2. The Program will accept a list (expense_list) containing data tuples like ("Food", 250) or ("Travel", 100).
3. Run a for loop to process each transaction and track the active balance details.
4. Validation Logic :
1. If the category name already exists, update its value by adding the new
amount.
2. If the category name is new, create a new record entry inside the dictionary array.
3. Check and reject any negative transaction values by logging an explicit error message.
CHECKLIST
main.py
OUTPUT
โถ Pyodide Console v0.26.0 Ready...
โถ Click the 'Run' button above to execute your Python code.
โถ Your program output or errors will appear here.
โถ Click the 'Run' button above to execute your Python code.
โถ Your program output or errors will appear here.