def repeater(iter, n):
    for i in iter:
        for j in range(n):
            yield i
Return an iterator that repeats each element of `iter` exactly
dataset/ETHPy150Open BRML/climin/climin/schedule.py/repeater