<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def stretch(iterable, n=2):
 r"""Repeat each item in `iterable` `n` times. Example: [0, 0, 1, 1, 2, 2] """

    times = range(n)
    for item in iterable:
        for i in times: yield item