def get(self):

        self.index += 1

        # If we've gone through the entire deque once, shuffle it again to
        # simulate ever-flowing random. self.shuffle() will run __init__(),
        # which will reset the index to 0.
        if self.index == len(self):
            self.shuffle()

        self.rotate(1)
        try:
            return self[0]
        except:
            return "wow"
Get one item. This will rotate the deque one step. Repeated gets will
dataset/ETHPy150Open thiderman/doge/doge/wow.py/DogeDeque.get