错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

How Loops Work

  • Coen de Groot

摘要

This segment looks at the machinery behind for-loops, including the distinction between something which could be used in a loop (an iterable) and something which is being used in a loop (an iterator), and how Python knows when there are no more items to use in a for-loop.