結果 : how to write exponential function in python