cap_ini=1500000
interes=2/100
interes_invertidos=cap_ini*(1+interes)**10
print(f"Los interes invertidos serán de {interes_invertidos}")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: