6 . How can you handle an exception in Python ? Write sample code to illustrate it.