range_xrange.py

# ==================================================================
#
# ==================================================================

print('----------------------------------------')

print('RANGE')

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

print('XRANGE')

try:
    for i in xrange(1,10):
        print(i)
except Exception as e:
    print(e)

print('----------------------------------------')

for a in ['a','b','c']:
    print(a)