結果 : python factory method example