除此之外, deque 还支持前向操作 appendleft(x) 头部添加元素extendleft(iterable) 头部添加多个元素popleft() 头部返回并删除rotate(n=1) 旋转maxlen 最大空间,如果 ...
確定! 回上一頁