Пример кода, рисующего произвольные фигуры
from tkinter import * root=Tk() canvas= Canvas(root, width=800, height=800) canvas.create_rectangle(30, 10, 120, 80, outline="#fb0", fill="#fb0") points = [150, 100, 200, 120, 240, 180, 210, 200, 150, 150, 100, 200] canvas.create_polygon(points, outline="red", fill="green", width=2) canvas.create_oval(10, 10, 80, 80, outline="gray", fill="gray", width=2) canvas.pack() colors=["#ffffff","#e6ecff","#ccd9ff", "#b3c6ff","#99b3ff","#809fff", "#668cff","#4d79ff","#3366ff", "#1a53ff","#0040ff","#0039e6", "#0033cc","#002db3","#002699", "#002080","#001a66","#00134d", "#000d33","#00061a","#000000"]
Задача
Написать свои инициалы (Перые буквы имени, фамили и отчества) с помощью флагов семафорной азбуки
Справочный материал
https://python-scripts.com/tkinter-canvas-example
https://younglinux.info/tkinter/canvas.php