Question: Please help solving this using Python code! 1. (a) Recall your question in Lab 01 assignment. Write a function house loano to calculate how many
1. (a) Recall your question in Lab 01 assignment. Write a function house loano to calculate how many months it will take you to save up enough money for a down payment. Your function should take 4 parameters: total cost, annual salary, portion saved, and portion down payment. Parameter portion down payment should have a default value set as 0.25. (50 pts) (b) Write a script called lab_04_house_loan .py that includes the definition of house loano that you just wrote. When the script is executed, it should ask the user to enter the following values and then use the house. Joano function to calculate the months needed to save enough money for a down payment. Note that all the arguments needs to be float numbers (50 pts) 1. The starting annual salary 2. The portion of salary to be saved 3. The cost of your dream home
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
