結果 : python create class methods programmatically