結果 : how to inherit methods in python