Объяснение:
from tkinter import *
root = Tk()
root.title("")
root.geometry("500x500")
cnt =0;
for i in range (0,10):
for j in range (0,10):
cnt += 1
btn = Button(text=cnt, height=1, width=5)
btn.place(x=i*50, y=j*50)
root.mainloop()
Объяснение:
from tkinter import *
root = Tk()
root.title("")
root.geometry("500x500")
cnt =0;
for i in range (0,10):
for j in range (0,10):
cnt += 1
btn = Button(text=cnt, height=1, width=5)
btn.place(x=i*50, y=j*50)
root.mainloop()