/*
Illustration of loops
To run: epython loops.py
*/

import util

for x in range(10):
  print "X="+x

list=[10,20,30,40,50,60]
for x in list:
  print "List item="+x

i=10
while i<=20:
  print "I="+i
  i+=1

/*
Illustration of loops
To run: epython loops.py
*/

import util

for x in range(10):
  print "X="+x

for x in range(105,115):
  print "X="+x

list=[10,20,30,40,50,60]
for x in list:
  print "List item="+x

i=10
while i<=20:
  print "I="+i
  i+=1

Update to loop example