# Author: Scott Wehrwein
# Date: 04/13/2021
# A less tedious approach to calculating yearly balance in an
# account with interest that compounds yearly.

balance = 100.0

for year in range(5):
    balance *= 1.02
    print(balance)
