The efficient way to rotate a list in python is to use a collections.deque it is optimized for pulling and pushing on both ends. This method has another method called rotate() method.
from collections import deque
items = deque([1, 2])
items.append(3)
items.rotate(1)
items.rotate(-1)
item = items.popleft()