def dynlist():
    a=[]
    n=int(input('enter the no of ele to be inserted'))
    for i in range(n):
        m=int(input('enter the ele to be inserted'))
        a.append(m)
        print(a)
dynlist()
