构造器,生成器,迭代器,分别什么意思? 构造器 == python类的初始化 or java构造函数 迭代器 for循环或 [i for i in range(10)] 这种 生成器 函数内使用 yield或(i for i in range(10))这种