The WHILE statement defines a set of statements to be executed until a condition that is evaluated at the beginning of the WHILE loop is false.
while语句定义了一个语句集合,如果在WHILE循环开始时某个条件的求值结果为false,那么就将执行这个语句集合。
The second type of flow control statement in Python is the while loop, which executes a block of program statements while an expression evaluates True.
Python中的第二种流控制语句是while循环,它在一个表达式计算为True时执行一个程序语句块。
A statement noted that while food prices have decreased from their peak last year, they remain high in historical terms.
VOA: special.2009.07.11
In a statement read to the court, he said that while he had no fear of death, he was frightened of pain.
VOA: standard.2009.08.14
In the statement, APEC economies with large deficits pledged to encourage private savings, while those with large surpluses pledged to strengthen domestic growth.
VOA: standard.2009.11.12
应用推荐