Python
from tkinter import *
window = Tk()
window.title("Флаг Украины")
window.minsize(width = 400, height = 400)
img_bg = Frame(window, width = 400, height = 100)
img_white = Frame(window, width = 200, height = 50, bg = "white")
img_blue = Frame(window, width = 200, height = 50, bg = "blue")
img_red = Frame(window, width = 200, height = 50, bg = "red")
img_bg.pack()
img_white.pack()
img_blue.pack()
img_red.pack()
window.mainloop()
Python
from tkinter import *
window = Tk()
window.title("Флаг Украины")
window.minsize(width = 400, height = 400)
img_bg = Frame(window, width = 400, height = 100)
img_white = Frame(window, width = 200, height = 50, bg = "white")
img_blue = Frame(window, width = 200, height = 50, bg = "blue")
img_red = Frame(window, width = 200, height = 50, bg = "red")
img_bg.pack()
img_white.pack()
img_blue.pack()
img_red.pack()
window.mainloop()