結果 : define custom type in python