Загрузка данных


from tkinter import *

window = Tk()
panza = Canvas(window, height = 400, width = 400, bg = 'white')
panza.pack()

panza.create_rectangle(20,20,40,380,fill='brown',outline='black')

panza.create_rectangle(40,20,300,105,fill='red',outline='black')
panza.create_rectangle(40,105,300,190,fill='green',outline='black')

panza.create_polygon(170,65,175,80,190,80,178,90,183,105,170,95,157,105,162,90,150,80,165,80,fill='gold',outline='black')

panza.create_text(200, 250,text="Drapel Burkina Faso",fill='red',font=('Arial', 12, 'bold'))
panza.create_text(200, 270,text="Student: Timbalist Egor",fill='black',font=('Arial', 12, 'bold'))
panza.create_text(200, 290,text="UTM, FD, Gr. DI-251",fill='green',font=('Arial', 12, 'bold'))

window.mainloop()