"The program answers the question: is the condition true or
false? If it is true, it does stuff in the section. When it is
finished it goes back up to the top and repeats the process again
and again until the condition is false:
>>> a = 10
>>> while a > 0:
... a = a-1
... print a
"The ordering here is a little odd because I forgot to print a in
the first line."
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.