Managing user and code failures
Overview
Teaching: 40 min
Exercises: 30 minQuestions
How are errors handled in Python?
What are some common coding practices to handle errors in programming?
Objectives
Know what are the different types of errors in Python.
Be able to write codes to manage errors using custom logic.
Key Points
Functions should never fail silently.
Errors should be explicitly handled.