l = [223, 42342, 242423423, 5, 555, 555, 55, 8, 87, 8, 5] n = len(l) for i in range(0, n, 1): del l[0] print('llllllllllllll', l)