• Предмет: Информатика
  • Автор: gledtavluy
  • Вопрос задан 4 месяца назад

Заповнити пропуски
from tkin___ import___
window=__k()
_____________.______________(“500x500”)
canv=__anvas(_________, width=500, _______=500, bg= “light blue”)
canv.________(x=0, y=0)
canv.create________([100,100],[200,200], width=3, fill= “green”)
____.create_rectangle([200,200], [400,400], width=3, fill= “green”))
canv.________oval([200,200], [400,400], width=0, fill= “yellow”))
canv.create__________([100,90], [200,190], [400,190], smooth=False)
_____________.mainloop()

Ответы

Ответ дал: qwerty12129
2

Ответ:

Объяснение:

from tkinter import *

window = Tk()

window.geometry("500x500")

canv = Canvas(window, width=500, height=500, bg="light blue")

canv.pack()

canv.create_line([100,100],[200,200], width=3, fill="green")

canv.create_rectangle([200,200], [400,400], width=3, fill="green")

canv.create_oval([200,200], [400,400], width=0, fill="yellow")

canv.create_polygon([100,90], [200,190], [400,190], smooth=False)

window.mainloop()

Вас заинтересует