Chapter 12 - Exceptions
Exercise 2: Handling the exception object
The call to send_sos
raises an exception with a message containing some coordinates. Rescue the exception, and print “Sending rescue party to” followed by the coordinates in the exception message.
Here’s the output: