loop
🏃 Running laps on a school track
Repeats a block of instructions multiple times.
中文对照 · Chinese
🏃 操场跑圈计数器
让计算机不知疲倦地重复执行同一段任务,直到满足停止条件。
Code example
for i in range(5):
print(i)Explore 100 bilingual word cards →Repeats a block of instructions multiple times.
🏃 操场跑圈计数器
让计算机不知疲倦地重复执行同一段任务,直到满足停止条件。
for i in range(5):
print(i)Explore 100 bilingual word cards →