title: Divide a window into two in tkinter
body: <p>I wanted to make two frames for the scientific calculator project I was tasked to code; one part would be the calculator and the other part would show the history of operations that were typed in by the user, here is what I have tried so far:</p>
  <pre><code>import math
  import tkinter.messagebox
  from tkinter import *
  
  root = Tk()
  root.title(&quot;Calculator&quot;)
  root.configure(background=&quot;lightgray&quot;)
  root.resizable(width=True,height=True)
  root.geometry(&quot;1042x521+0+0&quot;)
  
  calc = Frame().grid()
  history = Frame().grid()
  </code></pre>