programa de varios poligonos

code : from tkinter import * v0 = Tk() v0.title("Ventana Principal") v0.config(bg="green") v0.geometry("300x300") def mostrar(num): v1 = Toplevel(v0) v1.title('Ventana hija') v1.protocol("WM_DELETE_WINDOW", "onexit") v1.config(bg="blue") v1.geometry('1000x1000') if num == 1: canvas1 = Canvas(v1, width=200, height=200, bg="black") canvas1.pack(expand=YES, fill=BOTH) canvas1.create_polygon(140, 20, 160, 20, 200, 40, 240, 80, 260, 100, 300, 80, 340, 100, 360, 80, 400, 40, 440, 20, 460, 20, 480, 80, 460, 140, 440, 200, 360, 140, 300, 200, 240, 140, 160, 200, 140, 140, 120, 80, width=5,...