<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_text(node, tag, default=None):
 """Get the text for the provided tag from the provided node"""

    try:
        return node.find(tag).text
    except AttributeError:
        return default