from collections import deque import queue deq = deque(['a', 'b', ... You can use the Queue.empty method to check if the queue is empty.
確定! 回上一頁