Python入门之break和ontin

Thebreakstatement,likeinC,breaksoutoftheinnermostenclosingfororwhileloop.Python中断语句与C语言类似,打破了最小封闭for或while循环。

Loopstatementsmayhaveanelseclause;itisexecutedwhentheloopterminatesthroughexhaustionofthelist(withfor)orwhentheconditionbe


转载请注明:http://www.aierlanlan.com/tzrz/3061.html

  • 上一篇文章:
  •   
  • 下一篇文章: 没有了