首页 > 代码库 > while

while

>>> i = 0
>>> while i < 10:
print(i)
i = i + 1
 
 
0
1
2
3
4
5
6
7
8
9

while