Counter-controlled repetition. : While : Statement PYTHON TUTORIALS


PYTHON TUTORIALS » Statement » While »

 

Counter-controlled repetition.


counter = 0

while counter < 10:
   print counter
   counter += 1



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Statement
» While