Launch the program via the following command line:
python3 pv.py
It will then print the following dialog:
Enter the future value:
>> 100
Enter the rate:
>> 0.05
Enter the number of years:
>> 10
It will then print the present value (61.39)
Launch the program via the following command line:
python3 fv.py
It will then print the following dialog:
Enter the present value:
>> 100
Enter the rate:
>> 1
Enter the number of years:
>> 1
It will then print the future value (200)