結果 : what is factory design pattern in python