import tkinter
from tkinter import Canvas, Tk

w = Tk()
w.title("Побег школьника")

canv = Canvas(w, width=600, height=600)
canv.pack()

canv.create_rectangle(150, 150, 450, 450, outline='black', width=3)

canv.create_line(150, 150, 50, 50, width=3)

canv.create_line(450, 150, 550, 50, width=3)

canv.create_line(50, 50, 550, 50, width=3)

canv.create_line(150, 450, 50, 550, width=3)

canv.create_line(450, 450, 550, 550, width=3)

canv.create_line(50, 550, 550, 550, width=3)

canv.create_rectangle(250, 350, 350, 450, outline='black', width=3)

canv.create_rectangle(175, 175, 250, 250, outline='black', width=3)

canv.create_rectangle(350, 175, 425, 250, outline='black', width=3)



w.mainloop()

while True :
    print("Сбежать хотел?) не тут то было!")

