Треба доробити код намалювати таку квітку як на малюнку

from tkinter import*

Window=Tk()

Window.geometry('500x500')

Window.title('Kovalenko')

canvas = Canvas(Window, width=500, height=500)

canvas.pack()

canvas.create_line(120,400,280,400,fill="green",width=5)

canvas.create_line(180,400,180,260,fill="green",width=5)

canvas.create_line(180,260,160,180,fill="green",width=5)

points=[160,180,160,240,140,260,140,220]

canvas.create_polygon(points,fill="red",width=5,outline="blue")

Даю 100 балів!!!!!!!
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.