📅  最后修改于: 2022-03-11 14:47:17.184000             🧑  作者: Mango
代码示例6
# while loop runs till the condition becomes false
number = 0
while number > 10: # prints number till 10
print(number)
number += 1