Contact: aviboots(AT)netvision.net.il
41,615 questions
54,278 answers
573 users
lst = [1, 2, 3, 4, 5] while lst: n = lst.pop() print(n) print(lst) ''' run: 5 4 3 2 1 [] '''