Iterative programs:
- Choose variable that "count"
- initialize outside the loop
- set up end test (variable)
- construct block
-change variable
- what to do when loop done
For循环
for :
suite
While循环:使用while循环时,必须考虑“状态信息”,这就要求使用一个技术标识符。
Branch
If语句
if 某个条件满足:
“true"组
else:
"false"组