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

def repeater(pipe, how_many=2):
    ''' this function repeats each value in the pipeline however many times you need '''
    r = range(how_many)
    for i in pipe:
        for _ in r:
            yield i