title: Positions of canvas and buttons Python
body: <p>I am trying to do something like figure1 but I don't understand what is wrong. When I run the code figure 2 appears which I want it to look like the first picture. Can someone help me please ? Thanks<a href="https://i.stack.imgur.com/J8gGM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/J8gGM.png" alt="Figure1"></a><a href="https://i.stack.imgur.com/0ROC5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0ROC5.png" alt="Figure2"></a></p>
  
  <pre><code>import math
  import Tkinter
  import tkMessageBox
  import Canvas
  
  
  
  main = Tkinter.Tk()
  main.geometry("1500x1000")
  main.title("Momentum")
  canvas = Tkinter.Canvas(main, width=1000, height =600)
  canvas.grid(row=0,column=0)
  box = canvas.create_rectangle(150,20,850,400)
  
  ol1= Tkinter.Label(main, text="Object A")
  ol2= Tkinter.Label(main,text="Object B")
  ml1 = Tkinter.Label(main, text ="MASS")
  ml2 = Tkinter.Label(main, text ="MASS")
  me1 = Tkinter.Entry(main)
  me2 = Tkinter.Entry(main)
  ol1.grid(row=550, column=300)
  ol2.grid(row=550, column=500)
  ml1.grid(row=600, column =300 )
  ml2.grid(row =600, column =500 )
  me1.grid(row=620, column =300)
  me2.grid(row=620, column=500)
  
  
  
  
  
  main.mainloop()
  </code></pre>