一月5日

count = 0 while (count < 9):

print 'The count is:',

count count = count + 1

print "Good bye!"

 

输出

The count is: 0
The count is: 1
The count is: 2
The count is: 3
The count is: 4
The count is: 5
The count is: 6
The count is: 7
The count is: 8
Good bye!
posted @ 2021-01-05 12:13  hellowould  阅读(35)  评论(0编辑  收藏  举报