1#Import:
2from tkinter import *
3
4#Create Window:
5new_window = Tk()
6new_window.title("Hello World")
7new_window.geometry("300x250")
8#Adding the background color:
9new_window.config(bg = "red")
10
11#new_window tells us that we are setting up something for the new window
12#.config() means that we want to configure something on the screen
13#bg tells that the background needs to be changed
14#"red" tells us what should the background color be ; it can also be a hex code
15
16new_window.mainloop()