python —— __iter__和__next__ 原创 ... it = iter(list) 这一句可以不写,因为python内部会对for语句后面的对象进行如下的变换: for x in iter(list).
確定! 回上一頁