initial_balance = int(input(“Initial Balance? “))
RATE = 1.1
print(f”Year 0: {initial_balance:,.2f}”)
print(f”Year 1: {initial_balance * RATE:,.2f}”)
print(f”Year 2: {initial_balance * RATE * RATE:,.2f}”)
print(f”Year 0: {initial_balance * RATE ** 0:,.2f}”)
print(f”Year 1: {initial_balance * RATE ** 1:,.2f}”)
print(f”Year 2: {initial_balance * RATE ** 2:,.2f}”)
for i in range(3):
print(f”Year {i}: {initial_balance * RATE ** i:,.2f}”)
for year in range(10):
print(f”Year {year}: {initial_balance * RATE ** year:,.2f}”)