Python
Exercise 7 / 15
Exception Handling
Hard
28 points
Use try/except to handle a division by zero error.
Exceptions allow handling errors. try executes code, except catches exceptions. This is essential for creating robust programs.
Well done! 🎉
Your answer is correct! You earned 28 points.
Not quite...
Try again! You can do it.
Your code
Python
Result