結果 : write a program for compound interest in python