結果 : define inheritance and its types in python