摘要: def task1(): while True: yiled print('task1 run') def task2(): g =task1() while True: next(g) print('task2 run') task2() import time def task1(): a = 阅读全文
posted @ 2019-07-08 20:10 海森t 阅读(47) 评论(0) 推荐(0)