Fork me on GitHub
摘要: 1.并发:指多个动作同时发生 #author: wylkjj #date:2019/1/28 import time def consumer(name): print("%s 准备吃包子啦!" %name) while True: baozi = yield#接收send(i)传的值然后返回 pr 阅读全文
posted @ 2020-11-30 16:51 stardsd 阅读(373) 评论(0) 推荐(0) 编辑