(self)
| 26 | item that was dequeued""" |
| 27 | |
| 28 | def get(self) -> Any: |
| 29 | self.rotate(1) |
| 30 | dequeued = self.stack[self.length - 1] |
| 31 | self.stack = self.stack[:-1] |
| 32 | self.rotate(self.length - 1) |
| 33 | self.length = self.length - 1 |
| 34 | return dequeued |
| 35 | |
| 36 | """Rotates the queue {@code rotation} times |
| 37 | @param rotation |
no test coverage detected