Skip to content

This is a very easy investment calculator in python.

Notifications You must be signed in to change notification settings

v1rus-v2/projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Investment Calculator

Description

This simple Python script calculates the future value of an investment based on the principal amount, annual interest rate, and investment duration. It's a handy tool for anyone looking to estimate the growth of their investments over time.

Features

  • User-friendly command-line interface
  • Calculates future value using compound interest
  • Accepts input for principal amount, interest rate, and investment duration
  • Displays the result rounded to two decimal places

How to Use

  1. Run the script in a Python environment
  2. Enter the requested information when prompted:
    • Investment amount (principal)
    • Annual interest rate (in percentage)
    • Number of years for the investment
  3. The calculator will display the future value of your investment

Example

Welcome to Investment Calculator Enter the Investment Amount: $1000 Enter the Annual interest rate (in %): 5 Enter the number of years: 10 After 10 years, your investment will grow to: $1628.89