“9x9 Grid Tkinter” Code-Antworten

9x9 Grid Tkinter

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 Tkinter


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

Ähnliche Antworten wie “9x9 Grid Tkinter”

Fragen ähnlich wie “9x9 Grid Tkinter”

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen