Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from tkinter import *
- root = Tk()
- root.title("poe-pie")
- root.geometry("350x400")
- title = Label(text="Крестики-нолики", font=('Arial', 14, "bold"))
- title.pack()
- title1 = Label(text="Ходят: ", pady=10, font=('Arial', 13))
- title1.pack()
- button_x1_y1 = Button(text=" ")
- button_x1_y1.grid(row=1, column=1, pady=100, padx=150)
- button_x1_y2 = Button(text=" ")
- button_x1_y2.grid(row=1, column=2, pady=110, padx=150)
- button_x1_y3 = Button(text=" ")
- button_x1_y3.grid(row=1, column=3, pady=120, padx=150)
- button_x2_y1 = Button(text=" ")
- button_x2_y1.grid(row=2, column=1, pady=100, padx=160)
- button_x2_y2 = Button(text=" ")
- button_x2_y2.grid(row=2, column=2, pady=110, padx=160)
- button_x2_y3 = Button(text=" ")
- button_x2_y3.grid(row=2, column=3, pady=120, padx=160)
- button_x3_y1 = Button(text=" ")
- button_x3_y1.grid(row=3, column=1, pady=100, padx=170)
- button_x3_y2 = Button(text=" ")
- button_x3_y2.grid(row=3, column=2, pady=110, padx=170)
- button_x3_y3 = Button(text=" ")
- button_x3_y3.grid(row=3, column=3, pady=120, padx=170)
- root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement