title: Why does python only shows the first half of the list in tkinter?
body: <p>I tried to write a program, which shows a list of integers in a table in a new tkinter window by pressing a button. Than I run it, only the first half of the list was showed, but no errors was indicated. I tried to double the body of the for-loop, but one at uneven number of integers of the list and two at a even were missing. Here is the isolated problem:   </p>
  
  <pre><code>from tkinter import * 
  
  def table():
     filewin = Toplevel(root)
     x = 1
     numbers = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
  
     for i in numbers:
         Label(filewin, text = ("Value", x, ":")).grid(column = 0, row = i)
         Label(filewin, text = (liste.pop(0),"cm")).grid(column = 1, row = i)
         x += 1
  
  
  root = Tk()
  
  Button(root, text = 'show list', command = table).pack()
  
  root.mainloop()
  </code></pre>