python while 语句

counter = 0

while counter < 3:
     print(counter)
     counter += 1
     
print(counter)

 

image

posted @ 2013-03-04 13:35  helloweworld  阅读(233)  评论(0编辑  收藏  举报