digits = [0,1,2,3,4,5,6,7,8,9]
# print(digits)
# print(digits[0])
# print(digits[-10])
# print(digits[-1])

# print(len(digits))
# print(digits[-len(digits)]) 
# print(digits[:-1])
# print(digits[0:10:2]) 
# print(digits[::-1]) #It will reverse the list as it will hop backward
# print(digits[::-2])

# for i in range(len(digits)):
#     print(digits[0:i]) #from 0 to length iteratively


for i in range(len(digits)):
    print(digits[i:i+3])


