def deposit(amount, years):
total = amount
i = 0
while i < amount:
calculation = (amount + (amount * 0.1))
total += calculation
i += 1
return total
print(deposit(100, 1))
base=100
interest=0.1
years=1
repayment=base*(1+interest)**years
print(repayment)
def deposite(base,years,interest=0.1):
return base*(1+interest)**years
print(deposite(100,1)