
# range(begin,end,set) -->syntax

for i in range(10): # -->default starts from 0
    print(i)

print("\nDOne")

for i in range(1,5): # starts from 1
    print(i)
print("\nDOne")

for i in range(1,20,2): 
    print(i)
print("\nDOne")

li = list(range(1,6)) 
print(len(li))  # 5