結果 : purpose of inheritance in python