Python3:collections.deque的用法简介
from collections import dequequeue = deque(["Eric", "John", "Michael"])queue.append("Terry") # Terry 入队queue.append("Graham") # Graham 入队queu