使用while循环输出 0 1 2 3 4 5 6 7 8 9 10

n=0
while n<11:
    print(n)
    n=n+1

 

posted @ 2018-10-11 20:39  吃肉的小鹿  阅读(108)  评论(0)    收藏  举报