for循环内部作用: 1.调用可迭代对象的iter方法返回一个迭代器对象 2.不断调用迭代器对象的next方法 3.处理StopIteration 转载于:https://www.cnblogs.com/qinyanli/p/8338082.html