1、最简单的for循环语句

for i in range(10): #i为0、1、2、3、4、5、6、7、8、9 print(i)2、改变步长的for循环语句

for i in range(0,10,2): #i为0、2、4、6、8 print(i)