結果 : explain different types of inheritance in python with example