Mega Code Archive

 
Categories / Python / Language Basics
 

While loop demo

x = 1 while x <= 100:     print x     x += 1