結果 : how to inherit class method in python