__author__ = 'chira'

# for-loop   : when number of iterations known
# while-loop : when iteration depends on condition

for i in range(5,10):
    print(i)

print("------------");

i = 5
while i < 10:
    print(i)
    i += 1

print("------------");