3. Using python. Input the deposit amount, deposit period (years), and annual interest rate in different 3 lines.Assume
Posted: Fri Apr 29, 2022 6:37 am
3. Using python. Input the deposit amount, deposit period (years), and annual interest rate in different 3 lines.Assume that the bank calculates interest once every full year, and the interest is included in the principal at the same time. Please calculate and output the interest (excluding the principal and pre-tax) that can be obtained when withdrawing. Submit code in python. The result is rounded to 2 decimal places.