Use of loops with “while”

--Originally published at My B10g

This code will explain what while loop can do.
 count = 0
 while (count < 9):
    print 'The count is:', count
    count = count + 1

 print "Good bye!"
while (This is true):
   this code will repeat
this help for when you need to repeat a process multiple times and for preference when you don´t know how many times you have to repeat it.