1、for语句:
运行结果:
2、seq命令生成整数序列:
3、while语句:
执行结果:
4、break语句:
break语句是正常结束之前退出当前循环。
5、continue语句:
不执行本次循环,直接跳到下一次循环。
6、exit语句: