for i in range(0,10): if i <3: print("loop ",i) else : continue print("hehe...")range(10)循环10次
优化之前的脚本
只打印偶数,从0打印到10,但是步长为2