Calculating Compound Interest in Python

Prompt

Result