İmport Tkinter as tk.
Def print_hello_world():
Print("hello world")
Def t_a():
Print("2")
Root = tk.Tk()
Root. Attributes("-fullscreen", 1)
Root. Configure(bg="Black")
B = tk. Button(root, text="1234", command = print_hello_world, height = 5, width = 60, bg="Black")
B["font"] = ("ariel", 25)
B["fg"] = ("white")
B. Grid(row = 0, column = 0, padx = 200, pady = 450)
Y = tk. Button(root, text="1254", command = t_a, height = 5, width = 60, bg="Black")
Y["font"] = ("ariel", 25)
Y["fg"] = ("white")
Y. Grid(row = 1, column = 1, padx = 201, pady = 30)
root.mainloop()
Bunu da bir dener misin?
Yine olmadı.