'''
Created on Jan 24, 2018

@author: shifa
'''

#for loops
#it executes a sequence of statements
#multiple times


#the range is a built-in function
#its the function to iterate over a sequence
#of numbers

print(range(5))        #(0,5)
print(list(range(5)))  #from 0 to 4
print("\n")

for var in list(range(5)):
    print(var)
