結果 : how to enforce type checking in python