“9x9 Grid Tknter” Respostas de código

9x9 Grid Tknter

from tkinter import *

center=Th()
center.geometry('455x455')
center.title("9x9 grid")

cells = {}
for row in range(9):
    for column in range(9):
        cell = Frame(center, bg='white', highlightbackground="black",
                     highlightcolor="black", highlightthickness=1,
                     width=50, height=50,  padx=3,  pady=3)
        cell.grid(row=row, column=column)
        cells[(row, column)] = cell

center.mainloop()
Hassan

9x9 Grid Tknter


cells = {}
for row in range(9):
    for column in range(9):
        cell = Frame(center, bg='white', highlightbackground="black",
                     highlightcolor="black", highlightthickness=1,
                     width=100, height=100,  padx=3,  pady=3)
        cell.grid(row=row, column=column)
        cells[(row, column)] = cell

Splendid Shrew

Respostas semelhantes a “9x9 Grid Tknter”

Perguntas semelhantes a “9x9 Grid Tknter”

Procure respostas de código populares por idioma

Procurar outros idiomas de código