<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reduce_multiline(string):
 """ reduces a multiline string to a single line of text. args: string: the text to reduce """

    string = str(string)
    return " ".join([item.strip()
                     for item in string.split("\n")
                     if item.strip()])