結果 : types of inheritance with example in python