Calc Investiment Money Puthon
# How much is your $100 worth after 7 years?
def calcProfit(invest, bonus, year):
"""
invest : total badget
bonus : annual profit
year : for how many years
"""
return invest * (bonus ** year)
profit = calcProfit(100, 1.1, 7)
print(profit)
Artur Dev