摘要: import timedef consumer(name): print("%s 准备吃包子啦!" % name) while True: baozi = yield print("包子[%s]来了,被[%s]吃了!" % (baozi, name))c = consumer('LiuCheng') 阅读全文
posted @ 2020-05-26 07:23 安好_世界 阅读(177) 评论(0) 推荐(0) 编辑