在python中,迭代通常是通过 for ... in ... 来完成的,而且只要是 可迭代对象(iterable) ,都能进行迭代.这里简单讲下 iterable 与 iterator :.
確定! 回上一頁