取第一个值 👁️ 0 人浏览 💬 0 人评论 ❤️ 添加收藏 运行下面这段程序:def squares(n): for i in range(n): yield i * i g = squares(1000000) print(next(g))
全部评论