human
I wrote the below code

    N = len(sequence)
    def f(i):
        return sequence[(i % N)]
    return partial(_force, sequence=_advance(f))

What's a good function header?
 Here's a good function header?
assistant
#Here's a good function header.

def repeat(sequence):