Question: Your job is to create a program in Python 3.9 that tells the user whether they have been below, on, or overbudget given their monthly
Your job is to create a program in Python 3.9 that tells the user whether they have been below, on, or overbudget given their monthly income and savings goal. To do this, your program should ask the user how much theyre making in a month and how much they would like to save. The program should then calculate the budget -- how much of their monthly salary can they spend and still meet their savings goal. Next, the program should give a series of at least four expenses that are paid in a month (my example has rent, utilities, food, and miscellaneous) asking the user how much they spent on each category. Once youve finished gathering expenses, compute how much they spent that month and, through a series of conditions, tell the user whether they were under, on, or overbudget. On budget can be 5 the determined budget (so, a $1000 budget could have between $995-$1005 and still be on budget). If the user went over budget (so more than $5 over the determined budget), tell them how much they went over budget. A sample execution of the lab is attached on the following page. Note: Make sure your prices are format neatly.
Objectives:Practice getting input from the user
Converting input when appropriate
Use input in simple math equations
Format numbers and strings
Use conditional statements
Step by Step Solution
There are 3 Steps involved in it
Lets go through the solution to create this Python program step by step Step 1 Gather User Input Fir... View full answer
Get step-by-step solutions from verified subject matter experts
