In for i in range(4):, i is the loop variable: a variable that the loop sets to 0 the first time, then 1, 2 and 3. It can be used inside the block.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
In for i in range(4):, i is the loop variable: a variable that the loop sets to 0 the first time, then 1, 2 and 3. It can be used inside the block.