Вопрос по информатике
Анонимный
1 год назад

Створіть програму мовою Python з модулем tkinter, щоб вона мала вигляд  як на скриншоті(дам 40 баллов!!)​

Ответы 1

Ответ:

from tkinter import Tk, Label

root = Tk()

root.title('Main window')

root.geometry('290x190')

Label(root, text='2', height=5, width=20, bg='purple', fg='white').place(x=0, y=0)

Label(root, text='4', height=2, width=20, bg='yellow', fg='green').place(x=0, y=80)

Label(root, text='3', height=5, width=20, bg='blue', fg='white').place(x=0, y=115)

Label(root, text='1', height=13, width=20, bg='green', fg='yellow').place(x=146, y=0)

root.mainloop()

Объяснение:

Премиум статус
Получайте самые быстрые
ответы на свои вопросы
У вас остались
вопросы?