def handle_error_by_throwing_exception():
    pass


def handle_error_by_returning_none(input_data):
    pass


def handle_error_by_returning_tuple(input_data):
    pass


def filelike_objects_are_closed_on_exception(filelike_object):
    pass

add solution template