ID EN
Collections

rotate

Python 3.11

Rotate the deque n steps to the right. If n is negative, rotate to the left.

Syntax

PYTHON
rotate(n=1)