結果 : composition over inheritance python example