<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def underline(text):
    '''Takes a string, and returns it underscored.'''

    text += "\n"
    for i in range(len(text)-1):
        text += "="
    text += "\n"
    return text