~rickylinden/scripts

e2701a5be02e61858281635886126881cb067a81 — rickylinden 14 days ago c7f7fc1
Cleaned up compoundcalculator.py
1 files changed, 4 insertions(+), 2 deletions(-)

M compoundcalculator.py
M compoundcalculator.py => compoundcalculator.py +4 -2
@@ 33,6 33,8 @@ y = str(date.today().year + t)

value = initialCompound(p, r, t) + regularCompound(pmt, r, t)

print("\nSo after " + str(t) + " years you should in total have: ~" + str(truncate(value, 2)) + "€")
print("Which means every month in " + y + " you get from interest alone ~" + str(truncate(interestMonthly(value, r), 2)) + "€")
print("\nSo after " + str(t) + " years you should in total have: ~" +
str(truncate(value, 2)) + "€")
print("Which means every month in " + y + " you get from interest alone ~" +
str(truncate(interestMonthly(value, r), 2)) + "€")
print("\nThese calculations are based off of: https://www.thecalculatorsite.com/articles/finance/compound-interest-formula.php \nPlease note taxes/fees are not taken into consideration.")