# -*- coding: utf-8 -*-
"""
for loop
"""
r = range(10)
print('range ',r)
'''
range(0, 10)
'''
print(' 0 to 9')
for i in range (10):
    print(i)
print(' 1 to 10')
for i in range (1,11):
    print(i)
print(' 2 to 20')
for i in range (2,21,2):
    print(i)
print(' 50 to 5')
for i in range (50,4,-5):
    print(i)


