Home
/
Python 3.11
/
Collections
/
rotate
Python 3.0
Python 3.9
Python 3.11
Functions
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
Copy
rotate(n=1)