What is exception handling in Python?
Exception handling is a process used to handle runtime errors without stopping the execution of the program. In Python, exceptions are commonly handled using try, except, finally, and else blocks.
Example:
try:
result = 10 / 0
except ZeroDivisionError:
print("Cannot divide by zero")
Exception handling helps make applications more stable and user-friendly.