l = [1,2,3,4,5]

for i in range(len(l)):
    del l[i]
    print(len(l))

