立即学习:https://edu.csdn.net/course/play/25504/304703?utm_source=blogtoedu
生成器:
g=(for in)
next() print(next(g))
将下面的print b改为 yield