def main():
    l1 = [1,2,3,4,5,6,7]
    print(l1[0])
    print(l1[0:3])# print values from l1[0] to l1[3]

    print("\n\noutput of slicing")
    l2 = range(1,101)
    print(l1[0:50])
    print(l2[6:100:3])

    #for i in l2[0:100:2]:
     #   print(i,end='@')
main()
