Describe how you might deal with each error if you were writing a large production program. These descriptions should be general ideas in English, not actual Python code.
Another opportunity to deal with errors is better development and design process. Because of algorithm work well, but there is still an error, it's a problem with input. So, all input data should be filtered, to prevent wrong input. It means filtering by type, size, value.
Comments
Leave a comment