#!/usr/bin/python
count = 0
while (count < 9):
print 'The count is:', count
count = count + 1
print "Goodbye!"
The output should look like this:
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
Goodbye!