码迷,mamicode.com
首页 > 其他好文 > 详细

while

时间:2017-02-06 21:10:59      阅读:122      评论:0      收藏:0      [点我收藏+]

标签:int   nbsp   print   div   bsp   while   

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

while

标签:int   nbsp   print   div   bsp   while   

原文地址:http://www.cnblogs.com/john2017/p/6371654.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!