Mega Code Archive

 
Categories / Python Tutorial / Statement
 

Counter-controlled repetition with the for structure and range function

for counter in range( 10 ):    print counter