#!/usr/bin/python3
#=====================================================================================
# Range function
#=====================================================================================
print("Content-Type: text/html \n")  #http header with newline char (required for web)

print('<pre>')                      #to produce better display on the web 

range1 = range(100)                 # 0..99
print(range1)
list1 = [*range1]                   #unpack the numbers into a list
print(list1)
print()

range2 = range(1,101)               # 1..100
print(range2)
list2 = [*range2]                   #unpack the numbers into a list
print(list2)
print()

range3 = range(0,101,5)             # 0..100 by 5
print(range3)
list3 = [*range3]                   #unpack the numbers into a list
print(list3)
print()

range4 = range(20,0,-1)             # 20..1 by -1
print(range4)
list4 = [*range4]                   #unpack the numbers into a list
print(list4)
print()