How can i handle exceptions in python?
Exceptions in Python can be caught using the `try`...`except` block.
Example:
try:
x = 1 / 0
except ZeroDivisionError:
print('Cannot divide by zero!')
The code catches the `ZeroDivisionError` and prints an error message.