Question: PYTHON You are to write a program that will help you calculated a monthly budget. Assume that you have the following monthly expenses: Rent Renters
PYTHON You are to write a program that will help you calculated a monthly budget. Assume that you have the following monthly expenses: Rent Renters Insurance Food Electricity Natural Gas Cable Phone Transportation (assume you take public transportation, use Uber or rent a car when necessary) Donations to charity Entertainment Gifts (holiday, friends) Miscellaneous
You may hardcode the values for each expense. You code should do as follows: Calculate and print to the screen the total of all monthly expenses Calculate and print to the screen percent each expense is of the total expenses. Calculate and print to the screen the total of you total expenses for the year (i.e. the monthly expenses multiplied by 12) Calculate and print to the screen the amount you would have to earn to cover the annual expenses above. Assume that your tax rate is 30%. For example, you would have to earn $142,857.14 a year to cover $100,000 in expenses.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
