title: How do I make my button know what`s in the entry box and then print that value in a new window?
body: <p>I want after you write something in the entry box and then you press the button a new window to pop up and
  the number that was written in the entry box to be printed in the new window as &quot; Your height is: &quot;value&quot; but after many tries I still don`t understand how to do it.</p>
  <p>my code:</p>
  <pre><code>import tkinter as tk
  root = tk.Tk()
  root.geometry(&quot;250x130&quot;)
  root.resizable(False, False)
  
  lbl = tk.Label(root, text=&quot;Input your height&quot;, font=&quot;Segoe, 11&quot;).place(x=8, y=52)
  entry = tk.Entry(root,width=15).place(x=130, y=55)
  btn1 = tk.Button(root, text=&quot;Enter&quot;, width=12, height=1).place(x=130, y=85) #command=entrytxt1
  
  root.mainloop()
  </code></pre>