結果 : define a class method in python