結果 : how to add type checking in python