結果 : write a python function for calculating compound interest and call it