結果 : types of inheritance program in python