<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def times(x, y):
 """ Do something a random amount of times between x & y """

    def decorator(fn):

        def wrapped(*args, **kwargs):
            n = random.randint(x, y)
            for z in range(1, n):
                fn(*args, **kwargs)

        return wrapped

    return decorator