Loading ...
SeekhoCoding
SELECT PROJECT
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 :

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.

5. Print the processed ledger summary directly on the screen along with the final total expenses.
CHECKLIST


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.