For python code:
Simple versus Compound Interest: When $1,000 is invested at 5% simple interest, the amount grows by $50 each year.
When money is invested at 5% interest compounded annually, the amount at the end of each year is 1.05 times the amount at the beginning of that year.
Display the amounts after the first five years for a $1,000 investment at 5% simple and compound interest.