[python]While

If we do not know exactly how many times the loop will circle, but we do know the condition keeping the loop circlling, we can use:

while condition:

  action

Break action

there is no:

do

until condition

in python at the moment.

posted @ 2016-06-05 10:53  Symmetry  阅读(126)  评论(0)    收藏  举报