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