Converting a deque object into list

后端 未结 1 618
忘掉有多难
忘掉有多难 2020-12-29 18:46

currently I fetch \"list\" data from my storage, \"deque\" it to work with that data. After processing the fetched data I have to put them back into the storage. This won\'t

相关标签:
1条回答
  • 2020-12-29 19:25
    >>> list(collections.deque((1, 2, 3)))
    [1, 2, 3]
    
    0 讨论(0)
提交回复
热议问题