button1 = tk.Button(text='Get the Square Root', command=getSquareRoot) canvas1.create_window(200, 180, window=button1)