Python基础 · 免费预览
用循环重复操作
说明 `for` 循环的功能。正确编写 `for` 循环来重复简单的计算。观察循环运行过程中循环变量的取值变化。观察其他变量被 `for` 循环更新时的变化。
1. Overview
Overview
2. What's in a name?
What's in a name?
3. From 1 to N
From 1 to N
4. Understanding the loops
Understanding the loops
5. Computing Powers With Loops
Computing Powers With Loops
6. Summing a list
Summing a list
7. Computing the Value of a Polynomial
Computing the Value of a Polynomial