screen_small_frame = tk.Frame(window, width = "550", height = "40", borderwidth = 1.5, relief = "solid") screen_frame = tk.Frame(window, width = "550", height = "90", borderwidth = 1.5, relief = "solid") screen_small = tk.Label(screen_small_frame, textvariable = screen_text_small, font = ("Comic Sans MS", 12, "bold"), anchor = "w") screen = tk.Label(screen_frame, textvariable = screen_text, font = ("Comic Sans MS", 32, "bold"), anchor = "w") one_button_frame = tk.Frame(window, width = "100", height = "80") one_button = tk.Button(one_button_frame, text = "1", font = ("Comic Sans MS", 32, "bold"), command = one_btn_click) two_button_frame = tk.Frame(window, width = "100", height = "80") two_button = tk.Button(two_button_frame, text = "2", font = ("Comic Sans MS", 32, "bold"), command = two_btn_click) three_button_frame = tk.Frame(window, width = "100", height = "80") three_button = tk.Button(three_button_frame, text = "3", font = ("Comic Sans MS", 32, "bold"), command = three_btn_click) four_button_frame = tk.Frame(window, width = "100", height = "80") four_button = tk.Button(four_button_frame, text = "4", font = ("Comic Sans MS", 32, "bold"), command = four_btn_click) five_button_frame = tk.Frame(window, width = "100", height = "80") five_button = tk.Button(five_button_frame, text = "5", font = ("Comic Sans MS", 32, "bold"), command = five_btn_click) six_button_frame = tk.Frame(window, width = "100", height = "80") six_button = tk.Button(six_button_frame, text = "6", font = ("Comic Sans MS", 32, "bold"), command = six_btn_click) seven_button_frame = tk.Frame(window, width = "100", height = "80") seven_button = tk.Button(seven_button_frame, text = "7", font = ("Comic Sans MS", 32, "bold"), command = seven_btn_click) eight_button_frame = tk.Frame(window, width = "100", height = "80") eight_button = tk.Button(eight_button_frame, text = "8", font = ("Comic Sans MS", 32, "bold"), command = eight_btn_click) nine_button_frame = tk.Frame(window, width = "100", height = "80") nine_button = tk.Button(nine_button_frame, text = "9", font = ("Comic Sans MS", 32, "bold"), command = nine_btn_click) add_button_frame = tk.Frame(window, width = "100", height = "80") add_button = tk.Button(add_button_frame, text = "+", font = ("Comic Sans MS", 32, "bold"), command = add_btn_click) sum_button_frame = tk.Frame(window, width = "100", height = "80") sum_button = tk.Button(sum_button_frame, text = "=", font = ("Comic Sans MS", 32, "bold"), command = sum_btn_click) zero_button_frame = tk.Frame(window, width = "100", height = "80") zero_button = tk.Button(zero_button_frame, text = "0", font = ("Comic Sans MS", 32, "bold"), command = zero_btn_click) screen_small_frame.grid(row = 0, column = 0, columnspan = 5) screen_small_frame.grid_propagate(0) screen_small.grid() screen_frame.grid(row = 1, column = 0, columnspan = 5) screen_frame.grid_propagate(0) screen.grid() seven_button_frame.grid(row = 3, column = 0, padx = 5, pady = 5) seven_button_frame.grid_propagate(0) seven_button.grid(sticky = "nesw") eight_button_frame.grid(row = 3, column = 1, padx = 5, pady = 5) eight_button_frame.grid_propagate(0) eight_button.grid(sticky = "nesw") nine_button_frame.grid(row = 3, column = 2, padx = 5, pady = 5) nine_button_frame.grid_propagate(0) nine_button.grid(sticky = "nesw") four_button_frame.grid(row = 4, column = 0, padx = 5, pady = 5) four_button_frame.grid_propagate(0) four_button.grid(sticky = "nesw") five_button_frame.grid(row = 4, column = 1, padx = 5, pady = 5) five_button_frame.grid_propagate(0) five_button.grid(sticky = "nesw") six_button_frame.grid(row = 4, column = 2, padx = 5, pady = 5) six_button_frame.grid_propagate(0) six_button.grid(sticky = "nesw") one_button_frame.grid(row = 5, column = 0, padx = 5, pady = 5) one_button_frame.grid_propagate(0) one_button.grid(sticky = "nesw") two_button_frame.grid(row = 5, column = 1, padx = 5, pady = 5) two_button_frame.grid_propagate(0) two_button.grid(sticky = "nesw") three_button_frame.grid(row = 5, column = 2, padx = 5, pady = 5) three_button_frame.grid_propagate(0) three_button.grid(sticky = "nesw") add_button_frame.grid(row = 5, column = 3, padx = 5, pady = 5) add_button_frame.grid_propagate(0) add_button.grid(sticky = "nesw") sum_button_frame.grid(row = 5, column = 4, padx = 5, pady = 5) sum_button_frame.grid_propagate(0) sum_button.grid(sticky = "nesw") zero_button_frame.grid(row = 6, column = 0, columnspan = 3, padx = 5, pady = 5) zero_button_frame.grid_propagate(0) zero_button.grid(sticky = "nesw")