結果 : types of inheritance in python with real time example