'Cycle through values as the loop progresses.'

def cycle(self, *values):

    if (not values):
        raise ValueError('You    must    provide    values    to    cycle    through')
    return values[(self.index % len(values))]
