def get(self):
        if len(self) < 1:
            return "wow"

        if self.index >= len(self):
            self.index = 0

        step = random.randint(1, min(self.step, len(self)))

        res = self[0]
        self.index += step
        self.rotate(step)
        return res
Get one item and prepare to get an item with lower
dataset/ETHPy150Open thiderman/doge/doge/wow.py/FrequencyBasedDogeDeque.get