12_2??.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:Python_Study 作者: thsheep 项目源码 文件源码
def boss():
    """
    Boss will wait to hand out work until a individual workeworker 
    free since the maxsize of the task queue is 3.
    """
    for i in range(1,10):
        tasks.put(i)
    print('Assigned all work in iteration 1')
    for i in range(10,20):
        tasks.put(i)
    print('Assigned all work in iteration 2')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号