Home
О нас
Products
Services
Регистрация
Войти
Поиск
diaa22
@diaa22
July 2023
1
5
Report
ПОМОГИТЕ Я ВАС УМОЛЯЮ!!!
Зробіть завдання мовою пайтон.
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
likeanya3525
import tkinter as tk
from tkinter import ttk
class FigureBuilderApp(tk.Tk):
def__init__(self):
super._ _init__0
self.title ("Figure Builder")
# Add input field for coordinate pairs
self.coord_input = ttk.Entry (self)
self.coord_input.pack()
# Add build button
self.build_button = ttk. Button(self, text="Побудувати", command=self.build_figure) self.build _button.pack()
def build _figure (self:
# Parse input coordinates
coord _pairs = self.coord _ input.get().split(" .")
coords = [(int (coord_pairs[i]), int(coord _pairs[i+1])) for i in range(0, len (coord _pairs), 2)]
# Calculate and display figure
figure = calculate_figure (coords)
display_figure(figure)
daf raleulato finniralenordel.
1 votes
Thanks 0
More Questions From This User
See All
diaa22
July 2023 | 0 Ответы
95df464aed1861f527645f4222ce34d3
Answer
diaa22
July 2023 | 0 Ответы
261 64b38ed879d10
Answer
diaa22
July 2023 | 0 Ответы
3161 0001
Answer
diaa22
July 2023 | 0 Ответы
30 64a70592b184e
Answer
diaa22
July 2023 | 0 Ответы
1 4 1 2 64a6bb16a9ccd
Answer
diaa22
July 2023 | 0 Ответы
168 64a54b8c87980
Answer
diaa22
July 2023 | 0 Ответы
40 exercice 5 ecris les adjectifs formes a partir des adverbes exemple profondement profonde profond
Answer
diaa22
July 2023 | 0 Ответы
33 64a2fe59e27bf
Answer
diaa22
July 2023 | 0 Ответы
exercice 5 ecris les adjectifs formes a partir des adverbes exemple profondement profonde profond profondement
Answer
diaa22
July 2023 | 0 Ответы
100 16 20
Answer
×
Report "ПОМОГИТЕ Я ВАС УМОЛЯЮ!!! Зробіть завдання мовою пайтон"
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 © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
from tkinter import ttk
class FigureBuilderApp(tk.Tk):
def__init__(self):
super._ _init__0
self.title ("Figure Builder")
# Add input field for coordinate pairs
self.coord_input = ttk.Entry (self)
self.coord_input.pack()
# Add build button
self.build_button = ttk. Button(self, text="Побудувати", command=self.build_figure) self.build _button.pack()
def build _figure (self:
# Parse input coordinates
coord _pairs = self.coord _ input.get().split(" .")
coords = [(int (coord_pairs[i]), int(coord _pairs[i+1])) for i in range(0, len (coord _pairs), 2)]
# Calculate and display figure
figure = calculate_figure (coords)
display_figure(figure)
daf raleulato finniralenordel.