結果 : define a private function python