Ответ:
from tkinter import *
wnd = Tk()
wnd.title('Пори року')
wnd.geometry('300x200')
autumn = Label(text='Осінь', font='Times 16', fg='orange')
autumn.grid(column=0, row=0)
winter = Label(text='Зима', font='Timesn 16', fg='blue')
winter.grid(column=1, row=0)
spring = Label(text='Весна', font='Times 16', fg='green')
spring.grid(column=2, row=0)
summer = Label(text='Літо', font='Times 16', fg='red')
summer.grid(column=3, row=0)
wnd.mainloop()
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
from tkinter import *
wnd = Tk()
wnd.title('Пори року')
wnd.geometry('300x200')
autumn = Label(text='Осінь', font='Times 16', fg='orange')
autumn.grid(column=0, row=0)
winter = Label(text='Зима', font='Timesn 16', fg='blue')
winter.grid(column=1, row=0)
spring = Label(text='Весна', font='Times 16', fg='green')
spring.grid(column=2, row=0)
summer = Label(text='Літо', font='Times 16', fg='red')
summer.grid(column=3, row=0)
wnd.mainloop()