TypeError while trying to append an integer to a queue

后端 未结 0 696
感动是毒
感动是毒 2020-12-06 12:36

I get an error while trying to append an integer to my queue.

from _collections import deque
q = deque
q.appendleft(5) 
q.appendleft(6)
q.appendleft(12)
print         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题