結果 : define custom class python