title: Why don't any of my buttons work?
body: <p>First i had the sqrt button which worked fine, and then I added the pi button, and nothing worked, i tried changing everything and i still don't know whats wrong! Please someone help.</p>
  
  <pre><code>import sys
  from tkinter import *
  from math import *
  
  def sqrt_():
      text = ment.get()
      a = sqrt(text)
      label['text'] = a
  
  def pi_():
      text = ment.get()
      a = pi(text)
      label_1['text'] = a
  
  root = Tk()
  root.title('Conversions')
  root.geometry('400x400')
  
  #Get square root
  sqrt_button = Button(root, text='Get Square root',command= sqrt_).place(x='160', y='5')
  label = Label(root, text='')
  label.place(x=5, y=30)
  ment = IntVar()
  entry = Entry(textvariable=ment).place(x='5', y= '10 ')
  #Get Pi
  pi_button = Button(root, text='Get Pi',command= pi_).place(x='160', y='50')
  label_1 = Label(root, text='')
  label_1.place(x=55, y=200)
  ment = IntVar()
  entry_1 = Entry(textvariable=ment).place(x='5', y= '55 ')
  
  
  root.mainloop()
  </code></pre>