Complete the function doubling_time that takes two parameters bal and apr and uses a while loop compute the number of years it takes for the initial balance in a bank account to double in value rounded up to the nearest year. The two parameters are: bal: initial balance in the bank account apr: annual percent interest income, this is the percentage (of the balance) that should be added to the balance every year as interest income. For example, if bal is 200 and apr is 10 then the balance should be 220 after the first year. Provided definition: # returns the doubling time of the balance in whole years def doubling_time (bal, apr) :
+2
Answers (1)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Complete the function doubling_time that takes two parameters bal and apr and uses a while loop compute the number of years it takes for ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Home » Computers & Technology » Complete the function doubling_time that takes two parameters bal and apr and uses a while loop compute the number of years it takes for the initial balance in a bank account to double in value rounded up to the nearest year.