#!/usr/bin/env python
#-*- coding:utf-8 -*-

__author__ = 'andylin'
__date__ = '18-1-5 下午3:26'



import queue


q = queue.Queue()

q.put('a')
q.put('d')
q.put('c')




print(q.qsize())
print(q.get())
print(q.get())


d = queue.PriorityQueue()

d.put((1,'cca'))
d.put((3,'ccb'))
d.put((2,'ccc'))

print(d.get())
print(d.get())
print(d.get())
cd6ce203a985a00c6a0243b806c71bca0467ca77
<mask token>

<mask token>
q.put('a')
q.put('d')
q.put('c')
print(q.qsize())
print(q.get())
print(q.get())
<mask token>
d.put((1, 'cca'))
d.put((3, 'ccb'))
d.put((2, 'ccc'))
print(d.get())
print(d.get())
print(d.get())

__author__ = 'andylin'
__date__ = '18-1-5 下午3:26'
<mask token>
q = queue.Queue()
q.put('a')
q.put('d')
q.put('c')
print(q.qsize())
print(q.get())
print(q.get())
d = queue.PriorityQueue()
d.put((1, 'cca'))
d.put((3, 'ccb'))
d.put((2, 'ccc'))
print(d.get())
print(d.get())
print(d.get())

__author__ = 'andylin'
__date__ = '18-1-5 下午3:26'
import queue
q = queue.Queue()
q.put('a')
q.put('d')
q.put('c')
print(q.qsize())
print(q.get())
print(q.get())
d = queue.PriorityQueue()
d.put((1, 'cca'))
d.put((3, 'ccb'))
d.put((2, 'ccc'))
print(d.get())
print(d.get())
print(d.get())

#!/usr/bin/env python
#-*- coding:utf-8 -*-

__author__ = 'andylin'
__date__ = '18-1-5 下午3:26'



import queue


q = queue.Queue()

q.put('a')
q.put('d')
q.put('c')




print(q.qsize())
print(q.get())
print(q.get())


d = queue.PriorityQueue()

d.put((1,'cca'))
d.put((3,'ccb'))
d.put((2,'ccc'))

print(d.get())
print(d.get())
print(d.get())