結果 : write exponential function in python