結果 : compound interest code for python