結果 : explain types of inheritance with example in python