Home
О нас
Products
Services
Регистрация
Войти
Поиск
tanyasahatska
@tanyasahatska
July 2023
1
12
Report
Задача 1 Створити на вікні розміром 500*500 Полотно з властивостями: • ширина - 500 пікселів, висота 500 пікселів; • колiр-чорний; • 5-кутник Результат tk - X
Please enter comments
Please enter your name.
Please enter the correct email address.
Agree to
terms of service
You must agree before submitting.
Send
Answers & Comments
anchernel
from tkinter import *
# створення вікна
root = Tk()
root.geometry('500x500')
# створення полотна
canvas = Canvas(root, width=500, height=500, bg='black')
canvas.pack()
# малювання п'ятикутника
points = [(200, 100), (300, 150), (350, 250), (250, 350), (150, 250)]
canvas.create_polygon(points, fill='black')
root.mainloop()
0 votes
Thanks 1
More Questions From This User
See All
tanyasahatska
December 2023 | 0 Ответы
2 A friend comes to your house and you are going to have lunch. What do you ask? you ****** ? Sinc
Answer
tanyasahatska
October 2023 | 0 Ответы
написати письмовий твір на тему маленький народ великі вчинкидам 40 балів
Answer
tanyasahatska
July 2023 | 0 Ответы
sites 8
Answer
tanyasahatska
July 2023 | 0 Ответы
Задача 2 : Скориставшись схемою ділянки електричного кола визначте опір резистора R, (R, = 5Ом, R2 = 150м, I = 4A, U = 12B). R1 R₂
Answer
tanyasahatska
July 2023 | 0 Ответы
6x2+20x=(2x-5)(2x+5) допоможіть будь ласка тема квадратні коренні
Answer
×
Report "Задача 1 Створити на вікні розміром 500*500 Полотно з властивостями: • ширина - 500 пікселів, висота 500 пікселів; • колiр-чорний; • 5-кутник Результат tk -"
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
Helpful Links
О нас
Политика конфиденциальности
Правила и условия
Copyright
Контакты
Helpful Social
Get monthly updates
Submit
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
# створення вікна
root = Tk()
root.geometry('500x500')
# створення полотна
canvas = Canvas(root, width=500, height=500, bg='black')
canvas.pack()
# малювання п'ятикутника
points = [(200, 100), (300, 150), (350, 250), (250, 350), (150, 250)]
canvas.create_polygon(points, fill='black')
root.mainloop()