結果 : python define function in object