介绍python基础循环语句:for和while循环
工具/原料
Python3.7
1.for 循环
1、for循环基本格式:
3、for循环遍历列表:
2.while 循环
1、while循环基本格式:
3、无限循环: