結果 : how to write exponential functions in python