Skip to content

Iteration: FOR · ⁨迭代:FOR⁩

English

FOR counts

  • A count-controlled loop runs once for each integer from the start to the end, inclusive.
  • The counter is an INTEGER.
  • It is good practice to repeat the counter's name after NEXT.
中文

FOR 用来计数

  • 计数循环对从起点到终点的每个整数运行一次,两端都包括。
  • 计数器是 INTEGER。
  • 在 NEXT 后面再写一次计数器的名字,是好的写法。

Handout

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩