code: def range(self, start, end, desc=False):
          
          if not self:
              return []
  
          if desc:
              return reversed(self._scores[len(self) - end - 1:len(self) - start])
          else:
              return self._scores[start:end + 1]
docs: Return (score, member) pairs between min and max ranks.