結果 : write the components of a function in python