counter = 10 # Use a know value to test while counter > 0: print counter # do your work counter -= 1 # decrement the counter (or whatever) # use break for special circumstances if counter < 4: break
Comment