摘要: import queue as Q def PriorityQueue_int(): que = Q.PriorityQueue() que.put(10) que.put(1) que.put(5) while not que.empty(): print (que.get()) PriorityQueue_int() '''最先弹出1... 阅读全文
posted @ 2018-08-19 18:41 扫驴 阅读(10192) 评论(0) 推荐(0) 编辑