結果 : python define a function in a class