Exception Handling
Exceptions are runtime events that interrupt normal program execution.
try and except
Put risky code inside try and handle errors inside except.
else
The else block runs when no exception occurs.
finally
The finally block runs whether an exception occurs or not.
Good exception handling makes applications more reliable and user friendly.