結果 : how to code math functions in python