結果 : how to write inheritance in python