全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Loop variable?

Definition 16.3 Primary & Middle School Computer Science · 第 16 章 — Repeating with for: Turtle Drawings

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.

在原文中阅读 →