Mega Code Archive

 
Categories / Python Tutorial / Statement
 

Counter-controlled repetition

counter = 0 while counter < 10:    print counter    counter += 1