結果 : python define function in a class