結果 : different types of inheritance in python with examples