<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def pop_range(self, start, stop=None, withscores=True, **options):
        '''Remove and return a range from the ordered set by score.'''
        return self.backend.execute(
            self.client.zpopbyscore(self.id, start, stop,
                                    withscores=withscores, **options),
            partial(self._range, withscores))