Use slice notation with collections.deque

前端 未结 6 2205
情话喂你
情话喂你 2020-12-05 06:00

How would you extract items 3..6 efficiently, elegantly and pythonically from the following deque without altering it:

from collections import d         


        
6条回答
提交回复
热议问题