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