“9x9 Grid Tkinter” Kode Jawaban

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

Jawaban yang mirip dengan “9x9 Grid Tkinter”

Pertanyaan yang mirip dengan “9x9 Grid Tkinter”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya