結果 : create a custom type in python