結果 : python factory function example