Python 3 教程
Python 內(nèi)置函數(shù)
iter() 函數(shù)用來(lái)生成迭代器。
以下是 iter() 方法的語(yǔ)法:
iter(object[, sentinel])
迭代器對(duì)象。