Python学习基础篇5------循环语句

1、Python While 循环语句 while 判断条件: 执行语句…… 当判断条件为true时,进入循环。 返当判断条件为false时,循环结束。 2、循环使用else 语句、 在Python中,while...else在循环添加为false时 执行else语句。 count = 0 while count < 5:      print count, " is less than
相关文章
相关标签/搜索