Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assume that you have graduated and have been employed by a Robotics company in Istanbul, developing Machine Learning algorithms in Python. You decide that you
Assume that you have graduated and have been employed by a Robotics company in Istanbul, developing Machine Learning algorithms in Python. You decide that you want to start saving to buy a house. As housing prices are very high around IIstanbul, you realize that you are going to have to save for several years before you will afford to make the down-payment on a house. You are asked to write a Python program that will determine how long it will take you to save enough money to make the down-payment, using the following variables: a)The cost of your dream home: total_cost. b) The percentage of the total_cost needed for a down payment: dpay_percent. c) The amount that you have saved thus far: current_savings, d)Assume that your savings are deposited in a Bank and is earning interest, where the annual percentage rate (APR) is: apr. Note that your savings are compounded monthly and therefore you receive an additional amount of apr/12 of the amount deposited, at the end of each month. e)Assume that your monthly net salary is: monthly_salary. f) Assume that you are going to deposit a certain percentage of your monthly_salary to your current_savings at the Bank: percent_saved. g)Your monthly_salary will be raised by a certain percentage semi-annually: percent_raise. h)Due to inflation, the total_cost of the house will increase by a certain percentage annually: cpi. Write a Python program that will ask the user the above variables, and then calculates and informs the user the number of months it will take him/her to save enough to make the down-payment for that particular house
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started