lst = [] # empty list lst.append(1) lst.append(2) lst.append(3) print(lst[0]) print(lst[2]) for x in lst: print x print lst