title: Adding extra rows with labels by typing in a entry box in tkinter / Python without a button
body: <p>I would like to see new labels and entry boxes apear after I typed a number in an already existing entry box without having to use a button.</p>
  <p>My while loop is probably also wrong. But I hope you get my intention. This is all new to me.</p>
  <pre><code>import tkinter as tk
  
  window = tk.Tk()
  
  label_amount = tk.Label(text=&quot;Amount&quot;)
  label_amount.grid(row=0, column=0)
  
  entry_amount = tk.Entry()
  entry_amount.grid(row=0, column=1)
  
  # TODO - create a label and entry * amount entered
  # i = 1
  # while i &lt; int(entry_amount.get()):
  #     label_container = tk.Label(text=f&quot;Container {i}&quot;)
  #     label_container.grid(row=i, column=1)
  #
  #     entry_container = tk.Entry()
  #     entry_container.grid(row=i, column=2)
  #
  #     i = i + 1
  
  window.mainloop()
  </code></pre>