循环语句 一、while循环的格式 while 条件: 条件满足时,做的事情1 ...(省略)... 例: i = 0 while i < 5: print("当前是第%d次执行循环" % (i + 1)) print("i=%d" % i) i+=1