title: Showing the value of button on the entry box
body: <p>I am developing a GUI Calculator but, I am not able to print the value of the numbers in the entry box. Please help me? And please, I am just 15, so, keep the level of code easy for me.</p>
  <pre class="lang-py prettyprint-override"><code>from tkinter import *
  
  root=Tk()
  root.title(&quot;Calculator&quot;)
  
  #Console from where the input is to be taken
  e=Entry(root, width=&quot;25&quot;, borderwidth=&quot;2&quot;, )
  e.grid(row=0, column=0, columnspan=&quot;4&quot;, padx=10, pady=10)
  
  
  #Defining Buttons
  button1=Button(root, text=&quot;7&quot;, padx=&quot;20&quot;, pady=&quot;10&quot;, fg=&quot;white&quot;,bg=&quot;black&quot;, command=lambda:button_add(1))
  button2=Button(root, text=&quot;8&quot;, padx=&quot;20&quot;, pady=&quot;10&quot;, fg=&quot;white&quot;,bg=&quot;black&quot;, command=lambda:button_add(2))
  button3=Button(root, text=&quot;9&quot;, padx=&quot;20&quot;, pady=&quot;10&quot;, fg=&quot;white&quot;,bg=&quot;black&quot;, command=lambda:button_add(3))
  button4=Button(root, text=&quot;4&quot;, padx=&quot;20&quot;, pady=&quot;10&quot;, fg=&quot;white&quot;,bg=&quot;black&quot;, command=lambda: button_add(4))
  button5=Button(root, text=&quot;5&quot;, padx=&quot;20&quot;, pady=&quot;10&quot;, fg=&quot;white&quot;,bg=&quot;black&quot;, command=lambda: button_add(5))
  button6=Button(root, text=&quot;6&quot;, padx=&quot;20&quot;, pady=&quot;10&quot;, fg=&quot;white&quot;,bg=&quot;black&quot;, command=lambda: button_add(6))
  button7=Button(root, text=&quot;1&quot;, padx=&quot;20&quot;, pady=&quot;10&quot;, fg=&quot;white&quot;,bg=&quot;black&quot;, command=lambda: button_add(7))
  button8=Button(root, text=&quot;2&quot;, padx=&quot;20&quot;, pady=&quot;10&quot;, fg=&quot;white&quot;,bg=&quot;black&quot;, command=lambda: button_add(8))
  button9=Button(root, text=&quot;3&quot;, padx=&quot;20&quot;, pady=&quot;10&quot;, fg=&quot;white&quot;,bg=&quot;black&quot;, command=lambda: button_add(9))
  button0=Button(root, text=&quot;0&quot;, width=&quot;9&quot;, padx=&quot;20&quot;, pady=&quot;10&quot;, fg=&quot;white&quot;,bg=&quot;black&quot;, command=lambda: button_add(0))
  operation1=Button(root, text=&quot;÷&quot;, padx=&quot;20&quot;, pady=&quot;10&quot;, command=lambda: button_add)
  operation2=Button(root, text=&quot;x&quot;, padx=&quot;20&quot;, pady=&quot;10&quot;, command=lambda: button_add)
  operation3=Button(root, text=&quot;-&quot;, padx=&quot;21&quot;, pady=&quot;11&quot;, command=lambda: button_add)
  operation4=Button(root, text=&quot;+&quot;, padx=&quot;20&quot;, pady=&quot;10&quot;, command=lambda: button_add)
  operation5=Button(root, text=&quot;=&quot;, padx=&quot;20&quot;, pady=&quot;10&quot;, bg=&quot;yellow&quot;, command=lambda: button_add)
  clear=Button(root, text=&quot;CE&quot;, padx=&quot;20&quot;, pady=&quot;10&quot;, width=&quot;8&quot;, command=lambda: button_add)
  backspace=Button(root, text=&quot;&lt;--&quot;, padx=&quot;20&quot;, pady=&quot;10&quot;, width=&quot;8&quot;, command=lambda: button_add)
  
  #Showing Buttons
  button1.grid(row=&quot;2&quot;, column=&quot;0&quot;)
  button2.grid(row=&quot;2&quot;, column=&quot;1&quot;)
  button3.grid(row=&quot;2&quot;, column=&quot;2&quot;)
  
  button4.grid(row=&quot;3&quot;, column=&quot;0&quot;)
  button5.grid(row=&quot;3&quot;, column=&quot;1&quot;)
  button6.grid(row=&quot;3&quot;, column=&quot;2&quot;)
  
  button7.grid(row=&quot;4&quot;, column=&quot;0&quot;)
  button8.grid(row=&quot;4&quot;, column=&quot;1&quot;)
  button9.grid(row=&quot;4&quot;, column=&quot;2&quot;)
  
  button0.grid(rows=&quot;5&quot;, column=&quot;0&quot;, columnspan=&quot;2&quot;)
  
  operation1.grid(row=&quot;2&quot;, column=&quot;3&quot;)
  operation2.grid(row=&quot;3&quot;, column=&quot;3&quot;)
  operation3.grid(row=&quot;4&quot;, column=&quot;3&quot;)
  operation4.grid(row=&quot;5&quot;, column=&quot;3&quot;)
  operation5.grid(row=&quot;5&quot;, column=&quot;2&quot;)
  
  clear.grid(row=&quot;1&quot;, column=&quot;0&quot;, columnspan=&quot;2&quot;)
  backspace.grid(row=&quot;1&quot;, column=&quot;2&quot;, columnspan=&quot;2&quot;)
  
  def button_add():
    e.delete(0, END)
    e.insert(0, number)
    return
  
  root.mainloop()
  
  
  #Show the buttons______X
  #Buttons should work
  #Get input
  #Input should be seen
  #Process the information
  #Show the output
  </code></pre>