結果 : when to use class inheritance in python