結果 : prefer composition over inheritance python