w
ll = [] for i in range(0, 10, 1): ll.append(i) print(ll) for i in ll: if i < 6: print(i) index_ = ll.index(i) del ll[index_] print(ll)