迭代器与生成器--转载

https://www.zhihu.com/question/20829330

原文地址:https://www.cnblogs.com/watchslowly/p/8995630.html