import tkinter as tk
myApp = tk.Tk()
myApp.title("Pizza Shop")
myApp.geometry("1000x800")
myApp.configure(background="gray")
top_frame = tk.Frame(myApp, bg="red", height=500)
top_frame.pack(fill="x", side="top")
bottom_frame = tk.Frame(myApp, bg="green")
bottom_frame.pack(fill="both", expand=True)
tk.Label(top_frame, bg="red", fg="white").grid(row=0, column=0, pady=10)
tk.Label(bottom_frame, bg="green", fg="white").grid(row=0, column=0, pady=10)
Most of the screen is show green tho and saying pady not defined