You can use the following template in order to calculate the **Future Value** using Python:

pv = present value r = interest rate n = number of periods fv = pv*(1+r/100)**n print(fv)

## Steps to Calculate the Future Value using Python

### Step 1: Gather the data

To start, gather the data for the future value calculations.

For example, let’s use the following data:

- Present value (pv) = 3000
- Interest rate in % (r) = 5
- Number of periods (n) = 9

The goal is to derive the future value based on the above data.

### Step 2: Get the Future Value using Python

Here is the Python code to get the future value for our example:

pv = 3000 r = 5 n = 9 fv = pv*(1+r/100)**n print(fv)

Run the code and you’ll get the future value of **4653.98**