Ver originalfrom Tkinter import * master = Tk() for i in range(3): master.columnconfigure(i, weight=1) for j in range(3): e = Button(master, text=str(i*3+(j+1))) e.grid(row=i, column=j, sticky=N+S+E+W) master.mainloop()