結果 : how to create a custom type in python