Question: Python Functions Project: Personal Budget Tracker Objective: In this project, you will apply your knowledge of Python functions to create a personal budget tracker. The
Python Functions Project: Personal Budget Tracker
Objective:
In this project, you will apply your knowledge of Python functions to create a personal budget tracker. The tracker will allow users to input and manage their expenses and income. It will also provide summary reports of their financial situation.
Project Requirements:
Create Functions:
addincome: This function should accept the amount of income as an argument and store it in a variable or data structure eg a list or dictionaryaddexpense: This function should accept the expense amount and category eg food, entertainment, etc. as arguments, and store them accordingly.getbalance: This function should calculate and return the current balance income expensesshowsummary: This function should print a summary of the users income, total expenses, and balance.
Functionality:
The program should allow the user to add multiple income and expense entries.The tracker should track the total income and expenses and give the net balanceImplement error handling to ensure that only valid positive numbers are entered for income and expenses.
User Interaction:
Your program should present a simple textbased menu to the user, asking them if they want to:
Add incomeAdd expenseView balanceView summaryExit the program
Use a loop to continue interacting with the user until they choose to exit.
Grading Criteria:
Correct use of functions to structure the program
Proper handling of user inputs, including error handling
Clear, userfriendly output and formatting
The logical and efficient design of the code
Submission Instructions:
Submit your Python script filename: budgettracker.py by the deadline indicated above.
Ensure that your code is wellcommented and easy to follow.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
