結果 : structuring classes with inheritance and polymorphism in python