Contact: aviboots(AT)netvision.net.il
31,111 questions
40,781 answers
573 users
lst = [] for i in range(0, 5): lst.append(i) while lst: print(lst.pop(0)) print(lst) ''' run: 0 1 2 3 4 [] '''