if $10,000 is invested at an annual rate r compounded n timesper year, then the amount of the investment after five years willbe
.
Some possible values for r are 0.02,0.025, 0.03, 0.035,and 0.04.
Some possible values for n are 1, 2,4, 12, and 52.
Write a python program that allows the user to select interestrates and compounding periods from the list boxes and calculate theamount after five years.
Possible output shown below.
Answer