Take 4,000 times 12 to get 48,000. that’s how much A costs.
B is a little harder. you have to take (2,300+300)x12+(4*250). this equals $32,100
the correct answer would be B.
It's important to always cite your work to keep the credit toward the author. The answer is C.
Code:
def interest():
interest_rate = 0.06
investment = input(int('Investment: '))
yield = 0
year = 0
while (yield < investment):
year += 1
yield = investment * interest_rate
print (year)
NOTE: i wrote this code assuming that the investment for the next year is the same as the first year and so forth