一月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!
原文地址:https://www.cnblogs.com/zxpnb/p/14235033.html