結果 : how to make a mathematical function in python