結果 : explain types of inheritance in python with example