Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 790 Bytes

File metadata and controls

18 lines (14 loc) · 790 Bytes

Compound Interest Calculator

A simple Python script to calculate future value of savings with regular monthly contributions and annual compound interest.

Features

  • Interactive input using pyinputplus (validates numbers automatically)
  • Annual compounding (interest applied once per year)
  • Monthly contributions converted to annual lump sum added at end of each year
  • Clean currency-formatted output

Example run

How many years will you be saving? Enter amount: 10 How much money is currently in your account? Enter amount: 100000 How much money do you plan on investing monthly? Enter amount: 100 What do you estimate will be the yearly interest of this investment? Enter rate as percent (%): 5

This is how much money you would have in your account after 10 years: $177,982.93