It looks like you’re trying to create a calculator using Tkinter, but there are a couple of issues in your code. First, there’s an error when you try to create the frame using Tk.Frame(root) — you should use Frame instead of Tk.Frame.
Additionally, there are some issues with button placement.