結果 : define pure function in python